MediaRecorder constructor

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

Implementation

factory MediaRecorder(MediaStream stream, [MediaRecorderOptions? options]) =>
    MediaRecorder._(stream, options ?? undefined);