Recording
recording_update
Each recording has 3 states. Start, stop, and finish. So you will receive 3 events in the response. You can distinguish them by the duration
and links.download
fields.
- At start, both are null
- At stop, duration is set, but download is null
- At finish, both are set
{
type: 'recording_update',
recording: {
id: '598d8812ac605e3e4892470b',
created_at, // Timestamp
duration, // in seconds
links: {
self: 'https://api.eyeson.team/recordings/598d8812ac605e3e4892470b',
download: null
},
user: {
id,
name,
avatar,
guest,
},
room: {
id,
name,
ready: true | false,
shutdown: true | false,
guest_token
}
}
}
start_recording
Initiates a new recording session for the current meeting. When triggered, this command will begin capturing all audio and video content from the active meeting. All participants will be notified when recording begins.
eyeson.send({ type: 'start_recording' });
stop_recording
Terminates an active recording session for the current meeting. When executed, this command will stop the recording process and notify all participants that recording has ended. Once the recording is stopped, it will be processed and made available for download.
eyeson.send({ type: 'stop_recording' });