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

FragmentLoader

Extends:

src/event-handler.js~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: *)

Public Constructors

public constructor() source

Public Members

public loaders: {} source

Public Methods

public destroy() source

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 *