MediaRecorder constructor

MediaRecorder(
  1. MediaStream stream,
  2. [Map options]
)

Implementation

factory MediaRecorder(MediaStream stream, [Map options]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    return MediaRecorder._create_1(stream, options_1);
  }
  return MediaRecorder._create_2(stream);
}