WebmWasmEngine
Extends:
Video engine plugin for the webm-wasm library.
Constructor Summary
Public Constructor | ||
public |
constructor(player: Player, options: Object) Creates an instance of this class. |
Member Summary
Public Members | ||
public |
bitRate: * |
|
public |
Enables console logging for debugging purposes. |
|
public |
frameRate: * |
|
public |
recorderType: * |
|
public |
Video bitrate in kbps. |
|
public |
Video frame rate in fps. |
|
public |
Path to |
|
public |
Path to |
|
public |
workerPath: * |
Method Summary
Public Methods | ||
public |
Setup recording engine. |
Inherited Summary
From class RecordEngine | ||
public |
recordedData: * |
|
public |
addFileInfo(fileObj: Blob | File) Add filename and timestamp to recorded file object. |
|
public |
destroy() Destroy engine. |
|
public |
Show save as dialog in browser so the user can store the recorded media locally. |
|
private |
dispose() Remove any temporary data and references to streams. |
|
private |
onStopRecording(data: blob) Invoked when recording is stopped and resulting stream is available. |
From class RecordRTCEngine | ||
public |
debug: * |
|
public |
engine: * |
|
public |
inputStream: * |
|
public |
mediaType: * |
|
public |
recordedData: * |
|
public |
destroy() Destroy engine. |
|
public |
dispose() Remove any temporary data and references to streams. |
|
public |
pause() Pause recording. |
|
public |
resume() Resume recording. |
|
public |
Show save as dialog in browser so the user can store the recorded media locally. |
|
public |
Setup recording engine. |
|
public |
start() Start recording. |
|
public |
stop() Stop recording. |
|
private |
onStopRecording(audioVideoURL: string, type: string) Invoked when recording is stopped and resulting stream is available. |
|
private |
onTimeStamp(current: float, all: array) Received new timestamp (when timeSlice option is enabled). |
Public Constructors
public constructor(player: Player, options: Object) source
Creates an instance of this class.
Override:
RecordEngine#constructorParams:
Name | Type | Attribute | Description |
player | Player | The |
|
options | Object |
|
The key/value store of player options. |
Public Members
public bitRate: * source
public debug: boolean source
Enables console logging for debugging purposes.
Override:
RecordRTCEngine#debugpublic frameRate: * source
public recorderType: * source
public workerPath: * source
Public Methods
public setup(stream: LocalMediaStream, mediaType: Object, debug: Boolean) source
Setup recording engine.