Recording events
If you will be recording your calls, you might be interested in monitoring the status of those recordings. Daily's recording events help you monitor that and respond accordingly.
recording-started
Emitted for all participants when a recording starts.
All recording-started
events include the type of recording started ("local"
, "cloud"
, "raw-tracks"
, or "output-byte-stream"
).
When the type is "cloud"
or "raw-tracks"
, the recording-started
event will also include startedBy
with the participant ID of the person who started the recording. "cloud"
recordings will also include the same layout
property as live streaming events.
If you start a local-based recording ("local"
, "cloud"
, or "output-byte-stream"
), you may get some of these properties in your event, but other participants will only get an event containing {"action": "recording-started"}
.
recording-stopped
Emitted for all participants when a recording stops.
recording-stats
For experimental use only. This API may change.
recording-error
Emitted when a recording error occurs.
recording-upload-completed
Emitted when recording upload has completed.
recording-data
Emitted once recording has started for the output-byte-stream
recording type. The data field of the object passed to the recording-data
event contains the raw bytes from the MediaRecorder process. When the recording is complete, the finished
field of that object, in the final recording-data
event, will be set to true.