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

FPSController

Extends:

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

Public Constructors

public constructor() source

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

public onMediaAttaching(data: *) source

Params:

NameTypeAttributeDescription
data *