Skip to main content
Version: 1.2.x

Record Meeting

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

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

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

Start And Stop Recording

/// webhook url
private let recordingWebhookUrl = "<webhook-url-here>"

/// keep track of recording
private var recordingStarted = false

@IBAction func recordButtonTapped(_ sender: Any) {
if !recordingStarted {
// start recording
meeting?.startRecording(webhookUrl: recordingWebhookUrl)
} else {
// stop recording
meeting?.stopRecording()
}
}

Events

  1. recording-started - Whenever any participant start meeting recording, then recording-started event will trigger.

  2. recording-stopped - Whenever any participant stop meeting recording, then recording-stopped event will trigger.

/// Called after recording starts
func onRecordingStarted() {
recordingStarted = true

// show indication that meeting recording is started.
}

/// Caled after recording stops
func onRecordingStopped() {
recordingStarted = false

// hide meeting recording indication.
}