Interface HlsWebSocketCdnClientOptions

Hierarchy

  • HlsWebSocketCdnClientOptions

Properties

authToken: string

Token to authenticate to the CDN server

cdnServerUrl: string

URL to connect to the CDN server

debug?: boolean

True to log debug messages

delay?: number

Desired delay in seconds Default: 30

maxBufferDuration?: number

Max duration of the SourceBuffer in seconds If this duration is exceeded, oldest data will be removed from the buffer By default, double the value of maxDelay

maxDelay?: number

Max delay in seconds If player is playing with more delay than this, automatically seek to the delay. Default: delay + 1

maxFragmentQueueLength?: number

Max length for the fragment queue The fragments are appended to the queue, waiting for them to be remuxed It must be limited to prevent a memory crash if the remuxing process is too slow Default: 32

maxInitialFragments?: number

Max number of fragments to requests from the server buffer They will be received immediately after authentication if available Reduce the number to prevent a big initial load

maxSegmentQueueLength?: number

Max length for the segment queue The segments are appended to the queue, waiting for them to be processed It must be limited to prevent a memory crash if the processing is too slow Default: 32

streamId: string

ID of the stream to pull from the CDN

timeout?: number

Timeout (milliseconds) to start pulling the stream Default: 30000

Generated using TypeDoc