Home Reference Source
import FPSController from 'hls.js/src/controller/fps-controller.js'
public class | source

FPSController

Extends:

EventHandler → FPSController

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public
public

timer: *

Method Summary

Public Methods
public

checkFPS(video: *, decodedFrames: *, droppedFrames: *)

public
public
public

onMediaAttaching(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 isVideoPlaybackQualityAvailable: boolean source

public lastDecodedFrames: * source

public lastDroppedFrames: * source

public lastTime: * source

public timer: * source

Public Methods

public checkFPS(video: *, decodedFrames: *, droppedFrames: *) source

Params:

NameTypeAttributeDescription
video *
decodedFrames *
droppedFrames *

public checkFPSInterval() source

public destroy() source

Override:

EventHandler#destroy

public onMediaAttaching(data: *) source

Params:

NameTypeAttributeDescription
data *