KeyLoader
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
config: HlsConfig |
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
abort() |
|
public |
createKeyLoadError(frag: Fragment, details: ErrorDetails, networkDetails: undefined, message: string): LoadError |
|
public |
destroy() |
|
public |
detach() |
|
public |
|
|
public |
|
|
public |
loadInternal(frag: Fragment, keySystemFormat: KeySystemFormats): Promise |
|
public |
loadKeyEME(keyInfo: KeyLoaderInfo, frag: Fragment): Promise |
|
public |
loadKeyHTTP(keyInfo: KeyLoaderInfo, frag: Fragment): Promise |
|
public |
resetLoader(context: KeyLoaderContext) |
Public Constructors
public constructor() source
Public Members
public config: HlsConfig source
public emeController: * source
public keyUriToKeyInfo: * source
Public Methods
public abort() source
public createKeyLoadError(frag: Fragment, details: ErrorDetails, networkDetails: undefined, message: string): LoadError source
Params:
Name | Type | Attribute | Description |
frag | Fragment | ||
details | ErrorDetails | ||
networkDetails | undefined | ||
message | string |
public destroy() source
public detach() source
public loadInternal(frag: Fragment, keySystemFormat: KeySystemFormats): Promise source
Params:
Name | Type | Attribute | Description |
frag | Fragment | ||
keySystemFormat | KeySystemFormats |
public loadKeyEME(keyInfo: KeyLoaderInfo, frag: Fragment): Promise source
Params:
Name | Type | Attribute | Description |
keyInfo | KeyLoaderInfo | ||
frag | Fragment |
public loadKeyHTTP(keyInfo: KeyLoaderInfo, frag: Fragment): Promise source
Params:
Name | Type | Attribute | Description |
keyInfo | KeyLoaderInfo | ||
frag | Fragment |
public resetLoader(context: KeyLoaderContext) source
Params:
Name | Type | Attribute | Description |
context | KeyLoaderContext |