YouTube.js
Guide
Discord
❤️ Sponsor
GitHub
Guide
Discord
❤️ Sponsor
GitHub

googlevideo / exports/sabr-streaming-adapter / SabrOptions

Interface: SabrOptions

Defined in: src/types/sabrStreamingAdapterTypes.ts:47

Properties

enableCaching?

optional enableCaching: boolean

Defined in: src/types/sabrStreamingAdapterTypes.ts:52

Whether to enable caching of SABR segments.

Default

true

enableVerboseRequestLogging?

optional enableVerboseRequestLogging: 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?

optional maxCacheSizeMB: number

Defined in: src/types/sabrStreamingAdapterTypes.ts:63

Maximum size of the segment cache in megabytes.

Default

3

maxCacheAgeSeconds?

optional maxCacheAgeSeconds: number

Defined in: src/types/sabrStreamingAdapterTypes.ts:68

Maximum age of cached segments in seconds.

Default

300 (5 minutes)

playerAdapter?

optional playerAdapter: SabrPlayerAdapter

Defined in: src/types/sabrStreamingAdapterTypes.ts:72

Player adapter to use for SABR streaming.


clientInfo?

optional clientInfo: ClientInfo

Defined in: src/types/sabrStreamingAdapterTypes.ts:76

Client information to send with SABR requests.

Edit this page
Last Updated: 10/20/26, 8:11 PM