startRecording

fun startRecording(webhookUrl: String, awsDirPath: String, config: JSONObject, transcription: PostTranscriptionConfig)

This method can be used to start cloud recording of the meeting.

Events:

  • onRecordingStateChanged — emitted when the recording state changes
  • onRecordingStarted — emitted when the recording has started

Code Example:


meeting.startRecording(
    "https://example.com/webhook", // webhook URL
    null,                          // AWS directory path
    null,                          // recording config
    null                           // post-transcription config
)

Parameters

webhookUrl

the webhook URL to receive recording events

awsDirPath

The AWS S3 directory path for storing the recording, or null.

config

Additional recording configuration as a JSONObject, or null.

transcription

The PostTranscriptionConfig for post-recording transcription, or null.