startRecording method

Future<void> startRecording({
  1. String? webhookUrl,
  2. String? awsDirPath,
  3. RecordingConfig? config,
  4. PostTranscriptionConfig? transcription,
})

Starts recording the room.

transcription also transcribes the recording once it ends.

Implementation

Future<void> startRecording({
  String? webhookUrl,
  String? awsDirPath,
  RecordingConfig? config,
  PostTranscriptionConfig? transcription,
}) =>
    _backend.startRecording(
      webhookUrl: webhookUrl,
      awsDirPath: awsDirPath,
      config: config?.toJson(),
      postTranscriptionConfig: transcription,
    );