Home Reference Source
import FetchLoader from 'hls.js/src/utils/fetch-loader.js'
public class | source

FetchLoader

Fetch based loader timeout / abort / onprogress not supported for now timeout / abort : some ideas here : https://github.com/whatwg/fetch/issues/20#issuecomment-196113354 but still it is not bullet proof as it fails to avoid data waste....

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

abort()

public
public

load(context: *, config: *, callbacks: *)

Public Constructors

public constructor() source

Public Members

public fetchSetup: * source

Public Methods

public abort() source

public destroy() source

public load(context: *, config: *, callbacks: *) source

Params:

NameTypeAttributeDescription
context *
config *
callbacks *