RecordingOptions

fun RecordingOptions(recordingType: RecordingOptions.RecordingType, directoryPath: String)

Constructor without specified file name. A default file name template {recording_type}_{call_id}_{timestamp}.mp4 will be used for creating recorded file.

Since

1.3.0

Parameters

recordingType

Used to specify a type of recording that specifies which participant or media to record such as RecordingType.REMOTE_AUDIO_AND_VIDEO.

directoryPath

Used to specify the base directory path of where the recorded file will be saved.

fun RecordingOptions(recordingType: RecordingOptions.RecordingType, directoryPath: String, fileName: String)

Constructor with specified file name.

Since

1.3.0

Parameters

recordingType

Used to specify a type of recording that specifies which participant or media to record such as RecordingType.REMOTE_AUDIO_AND_VIDEO.

directoryPath

Used to specify the base directory path of where the recorded file will be saved.

fileName

Used to specify a name of the recorded file.