googlevideo / exports/sabr-stream / SabrStreamConfig
Interface: SabrStreamConfig
Defined in: codeberg/googlevideo/src/types/sabrStreamTypes.ts:6
Properties
clientInfo?
optional
clientInfo:ClientInfo
Defined in: codeberg/googlevideo/src/types/sabrStreamTypes.ts:29
Client information used to identify the requesting device/app. Contains details like client name, version, and capabilities.
durationMs?
optional
durationMs:number
Defined in: codeberg/googlevideo/src/types/sabrStreamTypes.ts:40
Total duration of the media content in milliseconds. If not provided, will be determined from format metadata.
fetch()?
optional
fetch: {(input
,init?
):Promise
<Response
>; (input
,init?
):Promise
<Response
>; }
Defined in: codeberg/googlevideo/src/types/sabrStreamTypes.ts:11
Custom fetch implementation to use for HTTP requests. If not provided, the global fetch
function will be used.
Call Signature
(
input
,init?
):Promise
<Response
>
Parameters
input
URL
| RequestInfo
init?
RequestInit
Returns
Promise
<Response
>
Call Signature
(
input
,init?
):Promise
<Response
>
Parameters
input
string
| URL
| Request
init?
RequestInit
Returns
Promise
<Response
>
formats?
optional
formats:SabrFormat
[]
Defined in: codeberg/googlevideo/src/types/sabrStreamTypes.ts:45
Array of available streaming formats obtained from the player response.
poToken?
optional
poToken:string
Defined in: codeberg/googlevideo/src/types/sabrStreamTypes.ts:34
Proof of Origin token for content protection verification.
serverAbrStreamingUrl?
optional
serverAbrStreamingUrl:string
Defined in: codeberg/googlevideo/src/types/sabrStreamTypes.ts:17
The URL endpoint for server-side ABR streaming requests. This is typically obtained from the initial player response.
videoPlaybackUstreamerConfig?
optional
videoPlaybackUstreamerConfig:string
Defined in: codeberg/googlevideo/src/types/sabrStreamTypes.ts:23
Base64-encoded Ustreamer configuration obtained from the player response. Required for authorizing and configuring the streaming session.