FPSController
Extends:
src/event-handler.js~EventHandler → FPSController
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
checkFPS(video: *, decodedFrames: *, droppedFrames: *) |
|
public |
|
|
public |
destroy() |
|
public |
onMediaAttaching(data: *) |
Public Constructors
public constructor() source
Public Members
public lastDecodedFrames: * source
public lastDroppedFrames: * source
public lastTime: * source
public timer: * source
Public Methods
public checkFPS(video: *, decodedFrames: *, droppedFrames: *) source
Params:
Name | Type | Attribute | Description |
video | * | ||
decodedFrames | * | ||
droppedFrames | * |
public checkFPSInterval() source
public destroy() source
public onMediaAttaching(data: *) source
Params:
Name | Type | Attribute | Description |
data | * |