Skip to main content

Recording

start_recording

Start a recording. The message is delivered to all users.

eyeson.send({ type: 'start_recording' });
{
type: 'start_recording',
}

stop_recording

Stop a recording. The message is delivered to all users.

eyeson.send({ type: 'stop_recording' });
{
type: 'stop_recording'
}

recording_update

Received when the rooms recording state is updated.

{
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,
sip: { /* ... */ },
guest_token
}
}
}