googlevideo / exports/sabr-streaming-adapter / SabrOptions
Interface: SabrOptions
Defined in: codeberg/googlevideo/src/types/sabrStreamingAdapterTypes.ts:43
Properties
clientInfo?
optional
clientInfo:ClientInfo
Defined in: codeberg/googlevideo/src/types/sabrStreamingAdapterTypes.ts:72
Client information to send with SABR requests.
enableCaching?
optional
enableCaching:boolean
Defined in: codeberg/googlevideo/src/types/sabrStreamingAdapterTypes.ts:48
Whether to enable caching of SABR segments.
Default
true
enableVerboseRequestLogging?
optional
enableVerboseRequestLogging:boolean
Defined in: codeberg/googlevideo/src/types/sabrStreamingAdapterTypes.ts:54
Enables verbose logging of all SABR requests made by the player. @NOTE: DEBUG
level logging must be enabled for this to take effect.
Default
false
maxCacheAgeSeconds?
optional
maxCacheAgeSeconds:number
Defined in: codeberg/googlevideo/src/types/sabrStreamingAdapterTypes.ts:64
Maximum age of cached segments in seconds.
Default
300 (5 minutes)
maxCacheSizeMB?
optional
maxCacheSizeMB:number
Defined in: codeberg/googlevideo/src/types/sabrStreamingAdapterTypes.ts:59
Maximum size of the segment cache in megabytes.
Default
3
playerAdapter?
optional
playerAdapter:SabrPlayerAdapter
Defined in: codeberg/googlevideo/src/types/sabrStreamingAdapterTypes.ts:68
Player adapter to use for SABR streaming.