MediaRecorderConfiguration constructor

MediaRecorderConfiguration({
  1. required String storagePath,
  2. MediaRecorderContainerFormat containerFormat = MediaRecorderContainerFormat.MP4,
  3. MediaRecorderStreamType streamType = MediaRecorderStreamType.Both,
  4. int maxDurationMs = 120000,
  5. int recorderInfoUpdateInterval = 0,
})

Constructs the MediaRecorderConfiguration.

Implementation

MediaRecorderConfiguration({
  required this.storagePath,
  this.containerFormat = MediaRecorderContainerFormat.MP4,
  this.streamType = MediaRecorderStreamType.Both,
  this.maxDurationMs = 120000,
  this.recorderInfoUpdateInterval = 0,
});