Recorder
Represents an audio and video recorder. Add the following line to your scenario code to use the class: require(Modules.Recorder);
Methods
addEventListener
Adds a handler for the specified RecorderEvents event. Use only functions as handlers; anything except a function leads to the error and scenario termination when a handler is called.
Parameters
event
callback
id
Returns the recorder’s id.
mute
Whether to mute whole record without detaching media sources from it.
Parameters
doMute
removeEventListener
Removes a handler for the specified RecorderEvents event.
Parameters
event
callback
stop
Stops recording and triggers the RecorderEvents.Stopped event.