startRecording

fun startRecording(path: String, format: Int)

Forwards a start request to the recorder after setting isRecording to true.

Parameters

path

A writable destination file path.

format

An Android MediaMuxer.OutputFormat value.

Throws

If the recorder is already recording or has no registered source. The flag remains true if the start request throws.