startFileRecording abstract method

Future<int?> startFileRecording({
  1. StreamIndex streamIndex = StreamIndex.main,
  2. required RecordingConfig config,
  3. required RecordingType recordingType,
})

Records the audio & video data during the call to a local file.

Returned value:

  • 0: Normal.
  • -1: Parameter exception.
  • -2: The current version of the SDK does not support this feature, please contact technical support.

Notes:

Implementation

Future<int?> startFileRecording({
  StreamIndex streamIndex = StreamIndex.main,
  required RecordingConfig config,
  required RecordingType recordingType,
});