Recording Media

The Media Recorder API is a Web API allowing web applications to record audio and video Media Streams, local and/or remote. It relies on the mediaStream object - see Audio & Video Capture.

API glimpse

recorder = new MediaRecorder(mediaStream, options)
Creates a media recorder out of a Media Stream. options selects e.g. the intended MIME type and/or the target bitrates.
MediaRecorder.isMimeTypeSupported(mimeType)
Static function checking if mimeType is, in principle, supported for recording.
recorder.start(interval)
Starts recording data, producing it as chunks in ondataavailable's event.data, every interval ms, if explicited.

Resources