mobileFX WebKitX CEF3 ActiveX 4.x
WebKitXCEF3Lib ActiveX Control / HLSSettings Object
Overview
HLSSettings Object Members
Public Methods
 
Public Properties

Scale factor to be applied against measured bandwidth average, to determine whether we can stay on current or lower quality level.

Default: 0.95

Scale factor to be applied against measured bandwidth average, to determine whether we can switch up to a higher quality level.

Default: 0.7

Default bandwidth estimate in bits/s prior to collecting fragment bandwidth samples. parameter should be a float.

Default: 500000

Fast bitrate Exponential moving average half-life, used to compute average bitrate for Live streams.

Default: 3.0

Fast bitrate Exponential moving average half-life, used to compute average bitrate for VoD streams.

Default: 3.0

Slow bitrate Exponential moving average half-life, used to compute average bitrate for Live streams.

Default: 3.0

Slow bitrate Exponential moving average half-life, used to compute average bitrate for VoD streams.

Default: 9.0

Max bitrate used in ABR by avg measured bitrate i.e. if bitrate signaled in variant manifest for a given level is 2Mb/s but average bitrate measured on this level is 2.5Mb/s, then if config value is set to true, ABR will use 2.5 Mb/s for this quality level.

Default: false

Max number of sourceBuffer.appendBuffer() retry upon error. Such error could happen in loop with UHD streams, when internal buffer is full.

Default: 3

If set to true, first fragments will be loaded automatically.

Default: true

When set to true, if the number of dropped frames over the period fpsDroppedMonitoringPeriod exceeds the ratio set by fpsDroppedMonitoringThreshold, then the quality level is dropped and capped at this lower level.

Default: false

If set to true, the adaptive algorithm with limit levels usable in auto-quality by the HTML video element dimensions (width and height). If dimensions between multiple levels are equal, the cap is chosen as the level with the greatest bandwidth.

Default: false

Label for the text track generated for CEA-708 captions track 1.

Default: English

RFC 3066 language code for the text track generated for CEA-708 captions track 1.

Default: en

Label for the text track generated for CEA-708 captions track 2.

Default: Spanish

RFC 3066 language code for the text track generated for CEA-708 captions track 2.

Default: es

Set to true to display video controls.

Default: true

Setting to true will turn on debug logs on JS console.

Default: false

Audio Codec hint.

Default: undefined

Whether to configure Enable Encrypted Media Extension for the stream.

Default: false

Whether or not to enable CEA-708 captions.

Default: true

Enable to use JavaScript version AES decryption for fallback of WebCrypto API.

Default: true

Whether or not to enable WebVTT captions on HLS.

Default: true

Enable WebWorker (if available on browser) for TS demuxing/MP4 remuxing, to improve performance and avoid lag/frame drops.

Default: true

Whether or not to force having a key frame in the first AVC sample after a discontinuity.

Default: true

The allowed frames dropped monitoring period is milliseconds.

Default: 5000 ms

The allowed frames dropped threshold.

Default: 0.2

Max number of load retries.

Default: 6

Maximum frag/manifest/key retry timeout (in milliseconds) in case I/O errors are met.

Default: 64000 ms

Initial delay between XMLHttpRequest error and first load retry (in ms).

Default: 1000 ms

URL Loader timeout.

Default: 20000 ms

Recover playback watchdog period.

Default: 3s

Number of segments needed to start a playback of Live stream.

Default: 1

Max number of load retries.

Default: 4

Maximum frag/manifest/key retry timeout (in milliseconds) in case I/O errors are met.

Default: 64000 ms

Initial delay between XMLHttpRequest error and first load retry (in ms).

Default: 1000 ms

URL Loader timeout.

Default: 10000 ms

Maximum delay allowed from edge of live.

Default: Infinity (-1)

Edge of live delay, expressed in multiple of EXT-X-TARGETDURATION.

Default: 3

Recover playback watchdog period.

Default: 0.5 sec

Max number of load retries.

Default: 1

Maximum frag/manifest/key retry timeout (in milliseconds) in case I/O errors are met.

Default: 64000 ms

Initial delay between XMLHttpRequest error and first load retry (in ms).

Default: 1000 ms

URL Loader timeout.

Default: 10000 ms

Audio frames drift so that the distance between consecutive audio frame remains constant.

Default: 1

Maximum inter-fragment buffer hole tolerance that hls.js can cope with when searching for the next fragment to load.

Default: 0.5 seconds

Maximum buffer length in seconds.

Default: 30 seconds

'Minimum' maximum buffer size in bytes.

Default: 60 MB

This tolerance factor is used during fragment lookup.

Default: 0.25 sec

Max video loading delay used in automatic start level selection.

Default: 4 sec

Maximum buffer length in seconds.

Default: 600 sec

ABR algorithm will always try to choose a quality level that should avoid rebuffering.

Default: 4 sec

Return the capping/min bandwidth value that could be used by automatic level selection algorithm.

Default: 0

Set to true to mute video.

Default: false

Max nb of nudge retries before hls.js raise a fatal BUFFER_STALLED_ERROR.

Default: 3

In case playback continues to stall after first playhead nudging, currentTime will be nudged evenmore following nudgeOffset to try to restore playback.

Default: 0.1 sec

Start prefetching start fragment although media not attached yet.

Default: false

When set, use this level as the default hls.startLevel.

Default: undefined

If set to -1, playback will start from initialTime=0 for VoD.

Default: -1

If a segment's video track is shorter than its audio track by > maxBufferHole, extend the final video frame's duration to match the audio track's duration.

Default: false

Load the first fragment of the lowest level to establish a bandwidth estimate before selecting the first auto-level.

Default: true

The HLS.js download URL to use.

Default: https://www.mobilefx.com/hls.js

The Widevine certificate URL.

Default: undefined

See Also