-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(toDash): Add support for stable volume/DRC (#662)
- Loading branch information
Showing
5 changed files
with
114 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export interface StreamingInfoOptions { | ||
/** | ||
* The label to use for the non-DRC streams when a video has DRC and streams. | ||
* | ||
* Defaults to `"Original"` | ||
*/ | ||
label_original?: string; | ||
/** | ||
* The label to use for the DRC streams when a video has DRC streams. | ||
* | ||
* Defaults to `"Stable Volume"` | ||
*/ | ||
label_drc?: string; | ||
/** | ||
* A function that generates the label to use for the DRC streams when a video has multiple audio tracks and DRC streams. | ||
* The non-DRC streams use the unmodified audio track label provided by YouTube. | ||
* | ||
* Defaults to `(audio_track_display_name) => audio_track_display_name + " (Stable Volume)"` | ||
*/ | ||
label_drc_mutiple?: (audio_track_display_name: string) => string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters