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

Compatibility:
Prebuilt
Custom

Emitted for all participants when a recording starts.

All recording-started events include the type of recording started ("local", "cloud", "rtp-tracks", or "output-byte-stream").

When the type is "cloud" or "rtp-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

Compatibility:
Prebuilt
Custom

Emitted for all participants when a recording stops.

recording-stats

Compatibility:
Prebuilt
Custom

For experimental use only. This API may change.

recording-error

Compatibility:
Prebuilt
Custom

Emitted when a recording error occurs.

recording-upload-completed

Compatibility:
Prebuilt
Custom

Emitted when recording upload has completed.

recording-data

Compatibility:
Prebuilt
Custom

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.