UNPKG

@tianfeng98/hls.js

Version:

HLS.js is a JavaScript library that supports playing MPEG-TS and HEVC encoded HLS streams in browsers with support for MSE.

16 lines (12 loc) 384 B
import EwmaBandWidthEstimator from '../utils/ewma-bandwidth-estimator'; export interface ComponentAPI { destroy(): void; } export interface AbrComponentAPI extends ComponentAPI { nextAutoLevel: number; readonly bwEstimator?: EwmaBandWidthEstimator; } export interface NetworkComponentAPI extends ComponentAPI { startLoad(startPosition: number): void; stopLoad(): void; }