Home Reference Source

References

summary
public

C Event

since 3.5.0
public

C Record

Record audio/video/images using the Video.js player.

private

F defaultKeyHandler(event: object): void

Default keyhandler.

public

V pluginDefaultOptions: {"image": *, "audio": *, "video": *, "animation": *, "screen": *, "maxLength": number, "maxFileSize": *, "displayMilliseconds": *, "formatTime": *, "frameWidth": number, "frameHeight": number, "debug": *, "pip": *, "autoMuteDevice": *, "videoBitRate": number, "videoEngine": string, "videoFrameRate": number, "videoMimeType": string, "videoRecorderType": string, "videoWorkerURL": *, "videoWebAssemblyURL": *, "audioEngine": string, "audioRecorderType": string, "audioMimeType": string, "audioBufferSize": number, "audioSampleRate": number, "audioBitRate": number, "audioChannels": number, "audioWorkerURL": *, "audioWebAssemblyURL": *, "audioBufferUpdate": *, "animationFrameRate": number, "animationQuality": number, "imageOutputType": string, "imageOutputFormat": string, "imageOutputQuality": number, "timeSlice": *, "convertEngine": *, "convertWorkerURL": *, "convertOptions": *, "convertAuto": boolean, "hotKeys": *, "pluginLibraryOptions": *}

since 2.0.0

controls

summary
public

Image for displaying animated GIF image.

public

Button to toggle between create and retry snapshot image.

public

Button to select recording device.

public

Button to toggle Picture-in-Picture mode.

public

Canvas for displaying snapshot image.

public

Icon indicating recording is active.

public

Button to toggle between start and stop recording.

engine

summary
public

Base class for converter backends.

public

Base class for recorder backends.

public

Engine used with the MRecordRTC class in the RecordRTC library.

private

F getAudioEngine(audioEngine: String): Object

Get audio plugin engine class.

private

F getConvertEngine(convertEngine: String): Object

Get converter plugin engine class.

private

F getVideoEngine(videoEngine: String): Object

Get video plugin engine class.

private

Check whether any audio record plugins are enabled.

public

F getRecorderMode(image: *, audio: *, video: *, animation: *, screen: *): *

public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
since 2.0.0
public
public

plugins

summary
public

Converter engine using the ffmpeg.wasm library.

public

Converter engine using the ffmpeg.js library.

public

Audio-only engine for the lamejs library.

public

Audio-only engine for the libvorbis.js library.

public

Audio-only engine for the opus-media-recorder library.

public

Audio-only engine for the opus-recorder library.

public

Audio-only engine for the recorder.js library.

public

Converter engine using the ts-ebml library.

public

Audio-only engine for the vmsg library.

public

Video engine plugin for the webm-wasm library.

utils

summary
public

F setSrcObject(stream: *, element: *)

since 2.0.0
public

Compare 2 version number strings.

private

Browser detector.

public

F isChrome(): *

public

F isEdge(): *

public

F isFirefox(): *

public

F isOpera(): *

public

F isSafari(): *

private

F addFileInfo(fileObj: Blob | File, dateObj: date, fileExtension: string)

Add filename and modification date to recorded file object.

private

F blobToArrayBuffer(fileObj: Blob | File): void

Read Blob as ArrayBuffer.

private

F downloadBlob(fileName: string, data: blob): void

Download Blob object in browser.

private

F formatTime(seconds: number, guide: number, displayMilliseconds: boolean): string

Format seconds as a duration string.

private

F getExtension(mimeType: string): string

Get file extension for mime-type.