googlevideo / exports/sabr-streaming-adapter / SabrOptions
Interface: SabrOptions
Defined in: src/types/sabrStreamingAdapterTypes.ts:47
Properties
enableCaching?
optionalenableCaching:boolean
Defined in: src/types/sabrStreamingAdapterTypes.ts:52
Whether to enable caching of SABR segments.
Default
true
enableVerboseRequestLogging?
optionalenableVerboseRequestLogging:boolean
Defined in: src/types/sabrStreamingAdapterTypes.ts:58
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
maxCacheSizeMB?
optionalmaxCacheSizeMB:number
Defined in: src/types/sabrStreamingAdapterTypes.ts:63
Maximum size of the segment cache in megabytes.
Default
3
maxCacheAgeSeconds?
optionalmaxCacheAgeSeconds:number
Defined in: src/types/sabrStreamingAdapterTypes.ts:68
Maximum age of cached segments in seconds.
Default
300 (5 minutes)
playerAdapter?
optionalplayerAdapter:SabrPlayerAdapter
Defined in: src/types/sabrStreamingAdapterTypes.ts:72
Player adapter to use for SABR streaming.
clientInfo?
optionalclientInfo:ClientInfo
Defined in: src/types/sabrStreamingAdapterTypes.ts:76
Client information to send with SABR requests.