Home > hls.js > Hls > (constructor)

Hls.(constructor)

Creates an instance of an HLS client that can attach to exactly one HTMLMediaElement.

Signature:

constructor(userConfig?: Partial<HlsConfig>);

Parameters

Parameter Type Description
userConfig Partial<HlsConfig> (Optional) Configuration options applied over Hls.DefaultConfig