Home > hls.js > HlsConfig

HlsConfig type

Signature:

export type HlsConfig = {
    debug: boolean | ILogger;
    enableWorker: boolean;
    enableSoftwareAES: boolean;
    minAutoBitrate: number;
    ignoreDevicePixelRatio: boolean;
    loader: {
        new (confg: HlsConfig): Loader<LoaderContext>;
    };
    fLoader?: FragmentLoaderConstructor;
    pLoader?: PlaylistLoaderConstructor;
    fetchSetup?: (context: LoaderContext, initParams: any) => Request;
    xhrSetup?: (xhr: XMLHttpRequest, url: string) => 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;
    abrController: typeof AbrController;
    bufferController: typeof BufferController;
    capLevelController: typeof CapLevelController;
    errorController: typeof ErrorController;
    fpsController: typeof FPSController;
    progressive: boolean;
    lowLatencyMode: boolean;
} & ABRControllerConfig & BufferControllerConfig & CapLevelControllerConfig & EMEControllerConfig & FPSControllerConfig & LevelControllerConfig & MP4RemuxerConfig & StreamControllerConfig & LatencyControllerConfig & MetadataControllerConfig & TimelineControllerConfig & TSDemuxerConfig & HlsLoadPolicies & FragmentLoaderConfig & PlaylistLoaderConfig;

References: ILogger, HlsConfig, Loader, LoaderContext, FragmentLoaderConstructor, PlaylistLoaderConstructor, AudioStreamController, AudioTrackController, SubtitleStreamController, SubtitleTrackController, TimelineController, EMEController, CMCDControllerConfig, CMCDController, ContentSteeringController, AbrController, BufferController, CapLevelController, ErrorController, FPSController, ABRControllerConfig, BufferControllerConfig, CapLevelControllerConfig, EMEControllerConfig, FPSControllerConfig, LevelControllerConfig, MP4RemuxerConfig, StreamControllerConfig, LatencyControllerConfig, MetadataControllerConfig, TimelineControllerConfig, TSDemuxerConfig, HlsLoadPolicies, FragmentLoaderConfig, PlaylistLoaderConfig