Home > hls.js > KeyLoader

KeyLoader class

Signature:

export default class KeyLoader implements ComponentAPI 

Implements: ComponentAPI

Constructors

Constructor

Modifiers

Description

(constructor)(config)

Constructs a new instance of the KeyLoader class

Properties

Property

Modifiers

Type

Description

emeController

EMEController | null

keyUriToKeyInfo

{ [keyuri: string]: KeyLoaderInfo; }

Methods

Method

Modifiers

Description

abort(type)

createKeyLoadError(frag, details, error, networkDetails, response)

destroy()

detach()

load(frag)

loadClear(loadingFrag, encryptedFragments)

loadInternal(frag, keySystemFormat)

loadKeyEME(keyInfo, frag)

loadKeyHTTP(keyInfo, frag)