googlevideo / exports/sabr-stream / SabrPlaybackOptions
Interface: SabrPlaybackOptions
Defined in: src/types/sabrStreamTypes.ts:124
Properties
videoFormat?
optionalvideoFormat:number|SabrFormat| (formats) =>SabrFormat|undefined
Defined in: src/types/sabrStreamTypes.ts:128
Can be a format ID number, a SabrFormat object, or a function that selects a format from the available formats array.
audioFormat?
optionalaudioFormat:number|SabrFormat| (formats) =>SabrFormat|undefined
Defined in: src/types/sabrStreamTypes.ts:132
Can be a format ID number, a SabrFormat object, or a function that selects a format from the available formats array.
videoPreferences?
optionalvideoPreferences:VideoFormatPreferences
Defined in: src/types/sabrStreamTypes.ts:133
audioPreferences?
optionalaudioPreferences:AudioFormatPreferences
Defined in: src/types/sabrStreamTypes.ts:134
maxRetries?
optionalmaxRetries:number
Defined in: src/types/sabrStreamTypes.ts:139
Maximum number of retries for failed requests.
Default
10
stallDetectionMs?
optionalstallDetectionMs:number
Defined in: src/types/sabrStreamTypes.ts:144
Duration in milliseconds after which a stall is detected if no progress is made.
Default
30_000
enabledTrackTypes?
optionalenabledTrackTypes:EnabledTrackTypes
Defined in: src/types/sabrStreamTypes.ts:145
startTimeMs?
optionalstartTimeMs:number
Defined in: src/types/sabrStreamTypes.ts:146
isPostLiveDvr
isPostLiveDvr:
boolean
Defined in: src/types/sabrStreamTypes.ts:147
snapshot?
optionalsnapshot:SabrSnapshot
Defined in: src/types/sabrStreamTypes.ts:151
If provided, the stream will attempt to continue from the given snapshot.