feat(StreamingInfoOptions)!: Add is_sabr option (#974)

Returns a manifest suitable for use in SABR player implementations.
This commit is contained in:
Luan
2025-06-08 07:02:10 -03:00
committed by GitHub
parent f202bcdeb7
commit 561e60b934
3 changed files with 50 additions and 32 deletions

View File

@@ -27,4 +27,9 @@ export interface StreamingInfoOptions {
* Defaults to `(audio_track_display_name) => audio_track_display_name + " (Stable Volume)"`
*/
label_drc_multiple?: (audio_track_display_name: string) => string;
/**
* If `true`, the generated manifest will contain URLs that are suitable for use with the SABR protocol.
*/
is_sabr?: boolean;
}