Skip to main content
Version: 1.0.x

Record Room

Record room allows participants to record video & audio during the room. The recording files are available in developer dashboard. Any participant can start / stop recording any time during the room.

This guide will provide an overview of how to implement start and stop Room Recording.

  1. Start Recording - By using startRecording() function, a participant can start room recording.
  2. Stop Recording - By using stopRecording() function, a participant can stop room recording.

Start And Stop Recording

// Start Recording
room.startRecording('<webhookUrl>');
// Stop Recording
room.stopRecording(),

Events

  1. recordingStarted - Whenever any participant start room recording, then recordingStarted event will trigger.

  2. recordingStopped - Whenever any participant stop room recording, then recordingStopped event will trigger.

room.on(Events.recordingStarted, () {
print("Room recording started");
});
//
room.on(Events.recordingStopped, () {
print("room recording stopped");
});