Interface HlsPlaybackConfiguration

Represents a configuration for controlling playback of an HLS stream.

Remarks


- Available since v2.82.0.

interface HlsPlaybackConfiguration {
    discontinuityAlignment?: HlsDiscontinuityAlignment;
    useLegacy?: boolean;
}

Properties

discontinuityAlignment?: HlsDiscontinuityAlignment

The strategy for aligning HLS discontinuities.

Default Value

'auto'

useLegacy?: boolean

Whether this source should be played using the legacy HLS pipeline.


- If set to true, always use the legacy HLS pipeline.
- If set to false, never use the legacy HLS pipeline.
- If set to undefined (default), use the modern HLS pipeline if available, otherwise fall back to the legacy HLS pipeline.

Default Value

undefined

Remarks


- Available since v4.0.0.

Generated using TypeDoc