Home Reference Source
import KeyLoader from 'hls.js/src/loader/key-loader.js'
public class | source

KeyLoader

Extends:

EventHandler → KeyLoader

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

loaders: {}

Method Summary

Public Methods
public
public

loaderror(response: *, context: *)

public

loadsuccess(response: *, stats: *, context: *)

public

loadtimeout(stats: *, context: *)

public

onKeyLoading(data: *)

Inherited Summary

From class EventHandler
public
public

hls: *

public
public
public
public

onEvent(event: *, data: *)

arguments: event (string), data (any)

public

onEventGeneric(event: *, data: *)

public
public
public
public

Public Constructors

public constructor() source

Override:

EventHandler#constructor

Public Members

public decryptkey: * source

public decrypturl: * source

public loaders: {} source

Public Methods

public destroy() source

Override:

EventHandler#destroy

public loaderror(response: *, context: *) source

Params:

NameTypeAttributeDescription
response *
context *

public loadsuccess(response: *, stats: *, context: *) source

Params:

NameTypeAttributeDescription
response *
stats *
context *

public loadtimeout(stats: *, context: *) source

Params:

NameTypeAttributeDescription
stats *
context *

public onKeyLoading(data: *) source

Params:

NameTypeAttributeDescription
data *