Definition
MediaStream Recording defines MediaRecorder
[Exposed=Window]
interface MediaRecorder : EventTarget {
constructor(MediaStream stream, optional MediaRecorderOptions options = {});
readonly attribute MediaStream stream;
readonly attribute DOMString mimeType;
readonly attribute RecordingState state;
attribute EventHandler onstart;
attribute EventHandler onstop;
attribute EventHandler ondataavailable;
attribute EventHandler onpause;
attribute EventHandler onresume;
attribute EventHandler onerror;
readonly attribute unsigned long videoBitsPerSecond;
readonly attribute unsigned long audioBitsPerSecond;
readonly attribute BitrateMode audioBitrateMode;
undefined start(optional unsigned long timeslice);
undefined stop();
undefined pause();
undefined resume();
undefined requestData();
static boolean isTypeSupported(DOMString type);
};