HlsConfig type
Signature:
export type HlsConfig = {
debug: boolean | ILogger;
enableWorker: boolean;
workerPath: null | string;
enableSoftwareAES: boolean;
minAutoBitrate: number;
ignoreDevicePixelRatio: boolean;
preferManagedMediaSource: boolean;
timelineOffset?: number;
loader: {
new (confg: HlsConfig): Loader<LoaderContext>;
};
fLoader?: FragmentLoaderConstructor;
pLoader?: PlaylistLoaderConstructor;
fetchSetup?: (context: LoaderContext, initParams: any) => Promise<Request> | Request;
xhrSetup?: (xhr: XMLHttpRequest, url: string) => Promise<void> | void;
audioStreamController?: typeof AudioStreamController;
audioTrackController?: typeof AudioTrackController;
subtitleStreamController?: typeof SubtitleStreamController;
subtitleTrackController?: typeof SubtitleTrackController;
timelineController?: typeof TimelineController;
emeController?: typeof EMEController;
cmcd?: CMCDControllerConfig;
cmcdController?: typeof CMCDController;
contentSteeringController?: typeof ContentSteeringController;
interstitialsController?: typeof InterstitialsController;
enableInterstitialPlayback: boolean;
interstitialAppendInPlace: boolean;
interstitialLiveLookAhead: number;
assetPlayerId?: string;
useMediaCapabilities: boolean;
abrController: typeof AbrController;
bufferController: typeof BufferController;
capLevelController: typeof CapLevelController;
errorController: typeof ErrorController;
fpsController: typeof FPSController;
progressive: boolean;
lowLatencyMode: boolean;
primarySessionId?: string;
} & ABRControllerConfig & BufferControllerConfig & CapLevelControllerConfig & EMEControllerConfig & FPSControllerConfig & LevelControllerConfig & MP4RemuxerConfig & StreamControllerConfig & SelectionPreferences & LatencyControllerConfig & MetadataControllerConfig & TimelineControllerConfig & TSDemuxerConfig & HlsLoadPolicies & FragmentLoaderConfig & PlaylistLoaderConfig;
References: ILogger, HlsConfig, Loader, LoaderContext, FragmentLoaderConstructor, PlaylistLoaderConstructor, AudioStreamController, AudioTrackController, SubtitleStreamController, SubtitleTrackController, TimelineController, EMEController, CMCDControllerConfig, CMCDController, ContentSteeringController, InterstitialsController, AbrController, BufferController, CapLevelController, ErrorController, FPSController, ABRControllerConfig, BufferControllerConfig, CapLevelControllerConfig, EMEControllerConfig, FPSControllerConfig, LevelControllerConfig, MP4RemuxerConfig, StreamControllerConfig, SelectionPreferences, LatencyControllerConfig, MetadataControllerConfig, TimelineControllerConfig, TSDemuxerConfig, HlsLoadPolicies, FragmentLoaderConfig, PlaylistLoaderConfig