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

FragmentLoader

Extends:

EventHandler → FragmentLoader

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

loaders: {}

Method Summary

Public Methods
public
public

loaderror(response: *, context: *, networkDetails: undefined)

public

loadprogress(stats: *, context: *, data: *, networkDetails: undefined)

public

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

public

loadtimeout(stats: *, context: *, networkDetails: undefined)

public

onFragLoading(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 loaders: {} source

Public Methods

public destroy() source

Override:

EventHandler#destroy

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

Params:

NameTypeAttributeDescription
response *
context *
networkDetails undefined
  • optional
  • default: undefined

public loadprogress(stats: *, context: *, data: *, networkDetails: undefined) source

Params:

NameTypeAttributeDescription
stats *
context *
data *
networkDetails undefined
  • optional
  • default: undefined

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

Params:

NameTypeAttributeDescription
response *
stats *
context *
networkDetails undefined
  • optional
  • default: undefined

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

Params:

NameTypeAttributeDescription
stats *
context *
networkDetails undefined
  • optional
  • default: undefined

public onFragLoading(data: *) source

Params:

NameTypeAttributeDescription
data *