Skip to main content
Version: 0.1.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

// TODO: change webhookUrl
val webhookUrl = "<webhook-url-here>"

// keep track of recording
val recording = false

findViewById<View>(R.id.btnRecording).setOnClickListener { view: View? ->
if (!recording) {
meeting!!.startRecording(webhookUrl)
} else {
meeting!!.stopRecording()
}
}

Events

  • onRecordingStateChanged - A onRecordingStateChanged event will be triggered any time the recording state of a meeting changes.
object : MeetingEventListener() {
override fun onRecordingStateChanged(recordingState: String) {
when (recordingState) {
"RECORDING_STARTING" -> {
Log.d("onRecordingStateChanged", "Meeting recording is starting")
}
"RECORDING_STARTED" -> {
Log.d("onRecordingStateChanged", "Meeting recording is started")
}
"RECORDING_STOPPING" -> {
Log.d("onRecordingStateChanged", "Meeting recording is stopping")
}
"RECORDING_STOPPED" -> {
Log.d("onRecordingStateChanged", "Meeting recording is stopped")
}
}
}
}