Whether the event has a default behavior that may be prevented by calling preventDefault
The recording ID generated in openvidu-server
Optional
nameThe recording name you supplied to openvidu-server. For example, to name your recording file MY_RECORDING:
/api/recordings/start
passing JSON body {"session":"sessionId","name":"MY_RECORDING"}
OpenVidu.startRecording(sessionId, "MY_RECORDING")
or OpenVidu.startRecording(sessionId, new RecordingProperties.Builder().name("MY_RECORDING").build())
OpenVidu.startRecording(sessionId, "MY_RECORDING")
or OpenVidu.startRecording(sessionId, {name: "MY_RECORDING"})
If no name is supplied, this property will be undefined and the recorded file will be named after property id
Optional
reasonFor 'recordingStopped' event:
For 'recordingStarted' empty string
The object that dispatched the event
The type of event. This is the same string you pass as first parameter when calling method on()
of any object implementing EventDispatcher interface
Whether the default beahivour of the event has been prevented or not. Call preventDefault to prevent it
Prevents the default behavior of the event. The following events have a default behavior:
sessionDisconnected
: dispatched by Session object, automatically unsubscribes the leaving participant from every Subscriber object of the session (this includes closing the RTCPeerConnection and disposing all MediaStreamTracks)
and also deletes any HTML video element associated to each Subscriber (only those created by OpenVidu Browser, either by passing a valid parameter as targetElement
in method subscribe or
by calling createVideoElement). For every video removed, each Subscriber object will also dispatch a videoElementDestroyed
event.
streamDestroyed
:
targetElement
in method initPublisher or by calling createVideoElement). For every video removed, the Publisher object will also dispatch a videoElementDestroyed
event.targetElement
in method subscribe or
by calling createVideoElement). For every video removed, the Subscriber object will also dispatch a videoElementDestroyed
event.Generated using TypeDoc
Triggered by: