MediaRecorderOptions constructor
MediaRecorderOptions({
- String? mimeType,
- int? audioBitsPerSecond,
- int? videoBitsPerSecond,
- int? bitsPerSecond,
- BitrateMode? audioBitrateMode,
Implementation
factory MediaRecorderOptions(
{String? mimeType,
int? audioBitsPerSecond,
int? videoBitsPerSecond,
int? bitsPerSecond,
BitrateMode? audioBitrateMode}) =>
MediaRecorderOptions._(
mimeType: mimeType ?? '',
audioBitsPerSecond: audioBitsPerSecond ?? undefined,
videoBitsPerSecond: videoBitsPerSecond ?? undefined,
bitsPerSecond: bitsPerSecond ?? undefined,
audioBitrateMode:
audioBitrateMode?.value ?? BitrateMode.variable.value);