Home > hls.js > LevelKey

LevelKey class

Signature:

export declare class LevelKey implements DecryptData 

Implements: DecryptData

Constructors

Constructor Modifiers Description
(constructor)(method, uri, format, formatversions, iv) Constructs a new instance of the LevelKey class

Properties

Property Modifiers Type Description
encrypted readonly boolean
isCommonEncryption readonly boolean
iv Uint8Array | null
key Uint8Array | null
keyFormat readonly string
keyFormatVersions readonly number[]
keyId Uint8Array | null
method readonly string
pssh Uint8Array | null
uri readonly string

Methods

Method Modifiers Description
clearKeyUriToKeyIdMap() static
getDecryptData(sn)
isSupported()