Home Reference Source

Variable

Static Public Summary
public

BinarySearch: {"search": *}

public

FragmentState: {"NOT_LOADED": string, "APPENDING": string, "PARTIAL": string, "OK": string}

public

Hex: {"hexDump": *}

hex dump helper class

public

HlsEvents: {"MEDIA_ATTACHING": string, "MEDIA_ATTACHED": string, "MEDIA_DETACHING": string, "MEDIA_DETACHED": string, "BUFFER_RESET": string, "BUFFER_CODECS": string, "BUFFER_CREATED": string, "BUFFER_APPENDING": string, "BUFFER_APPENDED": string, "BUFFER_EOS": string, "BUFFER_FLUSHING": string, "BUFFER_FLUSHED": string, "MANIFEST_LOADING": string, "MANIFEST_LOADED": string, "MANIFEST_PARSED": string, "LEVEL_SWITCHING": string, "LEVEL_SWITCHED": string, "LEVEL_LOADING": string, "LEVEL_LOADED": string, "LEVEL_UPDATED": string, "LEVEL_PTS_UPDATED": string, "LEVELS_UPDATED": string, "AUDIO_TRACKS_UPDATED": string, "AUDIO_TRACK_SWITCHING": string, "AUDIO_TRACK_SWITCHED": string, "AUDIO_TRACK_LOADING": string, "AUDIO_TRACK_LOADED": string, "SUBTITLE_TRACKS_UPDATED": string, "SUBTITLE_TRACK_SWITCH": string, "SUBTITLE_TRACK_LOADING": string, "SUBTITLE_TRACK_LOADED": string, "SUBTITLE_FRAG_PROCESSED": string, "CUES_PARSED": string, "NON_NATIVE_TEXT_TRACKS_FOUND": string, "INIT_PTS_FOUND": string, "FRAG_LOADING": string, "FRAG_LOAD_PROGRESS": string, "FRAG_LOAD_EMERGENCY_ABORTED": string, "FRAG_LOADED": string, "FRAG_DECRYPTED": string, "FRAG_PARSING_INIT_SEGMENT": string, "FRAG_PARSING_USERDATA": string, "FRAG_PARSING_METADATA": string, "FRAG_PARSING_DATA": string, "FRAG_PARSED": string, "FRAG_BUFFERED": string, "FRAG_CHANGED": string, "FPS_DROP": string, "FPS_DROP_LEVEL_CAPPING": string, "ERROR": string, "DESTROYING": string, "KEY_LOADING": string, "KEY_LOADED": string, "STREAM_STATE_TRANSITION": string, "LIVE_BACK_BUFFER_REACHED": string}

public
public

MpegAudio: {"BitratesMap": *, "SamplingRateMap": *, "SamplesCoefficients": *, "BytesInSlot": *, "appendFrame": *, "parseHeader": *, "isHeaderPattern": *, "isHeader": *, "probe": *}

MPEG parser helper

public
public
public
public

State: {"STOPPED": string, "STARTING": string, "IDLE": string, "PAUSED": string, "KEY_LOADING": string, "FRAG_LOADING": string, "FRAG_LOADING_WAITING_RETRY": string, "WAITING_TRACK": string, "PARSING": string, "PARSED": string, "BUFFER_FLUSHING": string, "ENDED": string, "ERROR": string, "WAITING_INIT_PTS": string, "WAITING_LEVEL": string}

public

TimeRanges: {"toString": *}

TimeRanges to string helper

public

WebVTTParser: {"parse": *}

public

hlsDefaultConfig: {"autoStartLoad": boolean, "startPosition": *, "defaultAudioCodec": *, "debug": *, "capLevelOnFPSDrop": *, "capLevelToPlayerSize": *, "initialLiveManifestSize": number, "maxBufferLength": number, "maxBufferSize": *, "maxBufferHole": number, "lowBufferWatchdogPeriod": number, "highBufferWatchdogPeriod": number, "nudgeOffset": number, "nudgeMaxRetry": number, "maxFragLookUpTolerance": number, "liveSyncDurationCount": number, "liveMaxLatencyDurationCount": *, "liveSyncDuration": *, "liveMaxLatencyDuration": *, "liveDurationInfinity": *, "liveBackBufferLength": *, "maxMaxBufferLength": number, "enableWorker": boolean, "enableSoftwareAES": boolean, "manifestLoadingTimeOut": number, "manifestLoadingMaxRetry": number, "manifestLoadingRetryDelay": number, "manifestLoadingMaxRetryTimeout": number, "startLevel": *, "levelLoadingTimeOut": number, "levelLoadingMaxRetry": number, "levelLoadingRetryDelay": number, "levelLoadingMaxRetryTimeout": number, "fragLoadingTimeOut": number, "fragLoadingMaxRetry": number, "fragLoadingRetryDelay": number, "fragLoadingMaxRetryTimeout": number, "startFragPrefetch": *, "fpsDroppedMonitoringPeriod": number, "fpsDroppedMonitoringThreshold": number, "appendErrorMaxRetry": number, "loader": *, "fLoader": *, "pLoader": *, "xhrSetup": *, "licenseXhrSetup": *, "abrController": *, "bufferController": *, "capLevelController": *, "fpsController": *, "stretchShortVideoTrack": *, "maxAudioFramesDrift": number, "forceKeyFrameOnDiscontinuity": boolean, "abrEwmaFastLive": number, "abrEwmaSlowLive": number, "abrEwmaFastVoD": number, "abrEwmaSlowVoD": number, "abrEwmaDefaultEstimate": number, "abrBandWidthFactor": number, "abrBandWidthUpFactor": number, "abrMaxWithRealBitrate": *, "maxStarvationDelay": number, "maxLoadingDelay": number, "minAutoBitrate": *, "emeEnabled": *, "widevineLicenseUrl": *, "drmSystemOptions": *, "requestMediaKeySystemAccessFunc": *, "testBandwidth": boolean, ...undefined: Object, "subtitleStreamController": *, "subtitleTrackController": *, "timelineController": *, "audioStreamController": *, "audioTrackController": *, "emeController": *}

public
public

logger: *

public
public

Static Public

public BinarySearch: {"search": *} source

import BinarySearch from 'hls.js/src/utils/binary-search.ts'

public FragmentState: {"NOT_LOADED": string, "APPENDING": string, "PARTIAL": string, "OK": string} source

import {FragmentState} from 'hls.js/src/controller/fragment-tracker.js'

public Hex: {"hexDump": *} source

import Hex from 'hls.js/src/utils/hex.js'

hex dump helper class

public HlsEvents: {"MEDIA_ATTACHING": string, "MEDIA_ATTACHED": string, "MEDIA_DETACHING": string, "MEDIA_DETACHED": string, "BUFFER_RESET": string, "BUFFER_CODECS": string, "BUFFER_CREATED": string, "BUFFER_APPENDING": string, "BUFFER_APPENDED": string, "BUFFER_EOS": string, "BUFFER_FLUSHING": string, "BUFFER_FLUSHED": string, "MANIFEST_LOADING": string, "MANIFEST_LOADED": string, "MANIFEST_PARSED": string, "LEVEL_SWITCHING": string, "LEVEL_SWITCHED": string, "LEVEL_LOADING": string, "LEVEL_LOADED": string, "LEVEL_UPDATED": string, "LEVEL_PTS_UPDATED": string, "LEVELS_UPDATED": string, "AUDIO_TRACKS_UPDATED": string, "AUDIO_TRACK_SWITCHING": string, "AUDIO_TRACK_SWITCHED": string, "AUDIO_TRACK_LOADING": string, "AUDIO_TRACK_LOADED": string, "SUBTITLE_TRACKS_UPDATED": string, "SUBTITLE_TRACK_SWITCH": string, "SUBTITLE_TRACK_LOADING": string, "SUBTITLE_TRACK_LOADED": string, "SUBTITLE_FRAG_PROCESSED": string, "CUES_PARSED": string, "NON_NATIVE_TEXT_TRACKS_FOUND": string, "INIT_PTS_FOUND": string, "FRAG_LOADING": string, "FRAG_LOAD_PROGRESS": string, "FRAG_LOAD_EMERGENCY_ABORTED": string, "FRAG_LOADED": string, "FRAG_DECRYPTED": string, "FRAG_PARSING_INIT_SEGMENT": string, "FRAG_PARSING_USERDATA": string, "FRAG_PARSING_METADATA": string, "FRAG_PARSING_DATA": string, "FRAG_PARSED": string, "FRAG_BUFFERED": string, "FRAG_CHANGED": string, "FPS_DROP": string, "FPS_DROP_LEVEL_CAPPING": string, "ERROR": string, "DESTROYING": string, "KEY_LOADING": string, "KEY_LOADED": string, "STREAM_STATE_TRANSITION": string, "LIVE_BACK_BUFFER_REACHED": string} source

import HlsEvents from 'hls.js/src/events.js'

public MAX_START_GAP_JUMP: number source

import {MAX_START_GAP_JUMP} from 'hls.js/src/controller/gap-controller.js'

public MpegAudio: {"BitratesMap": *, "SamplingRateMap": *, "SamplesCoefficients": *, "BytesInSlot": *, "appendFrame": *, "parseHeader": *, "isHeaderPattern": *, "isHeader": *, "probe": *} source

import MpegAudio from 'hls.js/src/demux/mpegaudio.js'

MPEG parser helper

public SKIP_BUFFER_HOLE_STEP_SECONDS: number source

import {SKIP_BUFFER_HOLE_STEP_SECONDS} from 'hls.js/src/controller/gap-controller.js'

public SKIP_BUFFER_RANGE_START: number source

import {SKIP_BUFFER_RANGE_START} from 'hls.js/src/controller/gap-controller.js'

public STALL_MINIMUM_DURATION_MS: number source

import {STALL_MINIMUM_DURATION_MS} from 'hls.js/src/controller/gap-controller.js'

public State: {"STOPPED": string, "STARTING": string, "IDLE": string, "PAUSED": string, "KEY_LOADING": string, "FRAG_LOADING": string, "FRAG_LOADING_WAITING_RETRY": string, "WAITING_TRACK": string, "PARSING": string, "PARSED": string, "BUFFER_FLUSHING": string, "ENDED": string, "ERROR": string, "WAITING_INIT_PTS": string, "WAITING_LEVEL": string} source

public TimeRanges: {"toString": *} source

import TimeRanges from 'hls.js/src/utils/time-ranges.ts'

TimeRanges to string helper

public WebVTTParser: {"parse": *} source

import WebVTTParser from 'hls.js/src/utils/webvtt-parser.js'

public hlsDefaultConfig: {"autoStartLoad": boolean, "startPosition": *, "defaultAudioCodec": *, "debug": *, "capLevelOnFPSDrop": *, "capLevelToPlayerSize": *, "initialLiveManifestSize": number, "maxBufferLength": number, "maxBufferSize": *, "maxBufferHole": number, "lowBufferWatchdogPeriod": number, "highBufferWatchdogPeriod": number, "nudgeOffset": number, "nudgeMaxRetry": number, "maxFragLookUpTolerance": number, "liveSyncDurationCount": number, "liveMaxLatencyDurationCount": *, "liveSyncDuration": *, "liveMaxLatencyDuration": *, "liveDurationInfinity": *, "liveBackBufferLength": *, "maxMaxBufferLength": number, "enableWorker": boolean, "enableSoftwareAES": boolean, "manifestLoadingTimeOut": number, "manifestLoadingMaxRetry": number, "manifestLoadingRetryDelay": number, "manifestLoadingMaxRetryTimeout": number, "startLevel": *, "levelLoadingTimeOut": number, "levelLoadingMaxRetry": number, "levelLoadingRetryDelay": number, "levelLoadingMaxRetryTimeout": number, "fragLoadingTimeOut": number, "fragLoadingMaxRetry": number, "fragLoadingRetryDelay": number, "fragLoadingMaxRetryTimeout": number, "startFragPrefetch": *, "fpsDroppedMonitoringPeriod": number, "fpsDroppedMonitoringThreshold": number, "appendErrorMaxRetry": number, "loader": *, "fLoader": *, "pLoader": *, "xhrSetup": *, "licenseXhrSetup": *, "abrController": *, "bufferController": *, "capLevelController": *, "fpsController": *, "stretchShortVideoTrack": *, "maxAudioFramesDrift": number, "forceKeyFrameOnDiscontinuity": boolean, "abrEwmaFastLive": number, "abrEwmaSlowLive": number, "abrEwmaFastVoD": number, "abrEwmaSlowVoD": number, "abrEwmaDefaultEstimate": number, "abrBandWidthFactor": number, "abrBandWidthUpFactor": number, "abrMaxWithRealBitrate": *, "maxStarvationDelay": number, "maxLoadingDelay": number, "minAutoBitrate": *, "emeEnabled": *, "widevineLicenseUrl": *, "drmSystemOptions": *, "requestMediaKeySystemAccessFunc": *, "testBandwidth": boolean, ...undefined: Object, "subtitleStreamController": *, "subtitleTrackController": *, "timelineController": *, "audioStreamController": *, "audioTrackController": *, "emeController": *} source

import {hlsDefaultConfig} from 'hls.js/src/config.ts'

public isFiniteNumber: * source

import {isFiniteNumber} from 'hls.js/src/polyfills/number-isFinite.js'

public logger: * source

import {logger} from 'hls.js/src/utils/logger.js'

public requestMediaKeySystemAccess: * source

import {requestMediaKeySystemAccess} from 'hls.js/src/utils/mediakeys-helper.ts'

public utf8ArrayToStr: * source

import {utf8ArrayToStr} from 'hls.js/src/demux/id3.js'