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 |
F isAudioPluginActive(audioEngine: String): Boolean Check whether any audio record plugins are enabled. |
|
public |
F getRecorderMode(image: *, audio: *, video: *, animation: *, screen: *): * |
|
public |
V CONVERT_PLUGINS: undefined[] |
|
public |
|
|
public |
V FFMPEGWASM: string |
|
public |
|
|
public |
V AUDIO_PLUGINS: undefined[] |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
V RECORDERJS: string |
|
public |
|
|
public |
V RECORD_PLUGINS: * |
|
public |
V VIDEO_PLUGINS: undefined[] |
|
public |
|
|
public |
|
|
public |
|
|
public |
V AUDIO_ONLY: string |
|
public |
|
|
public |
|
|
public |
V IMAGE_ONLY: string |
since 2.0.0 |
public |
|
|
public |
V VIDEO_ONLY: string |
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 |
F compareVersion(v1: string, v2: string): number Compare 2 version number strings. |
|
private |
F detectBrowser(): object 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 |
|
private |
F downloadBlob(fileName: string, data: blob): void Download |
|
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. |