MediaRecorder
The MediaRecorder interface of the MediaStream Recording API provides functionality to easily record media. It is created using the MediaRecorder() constructor.
Properties
The audioBitsPerSecond read-only property of the MediaRecorder interface returns the audio encoding bit rate in use.
The mimeType read-only property of the MediaRecorder interface returns the MIME media type that was specified when creating the MediaRecorder object, or, if none was specified, which was chosen by the browser. This is the file format of the file that would result from writing all of the recorded data to disk.
The state read-only property of the MediaRecorder interface returns the current state of the current MediaRecorder object.
The stream read-only property of the MediaRecorder interface returns the stream that was passed into the MediaRecorder() constructor when the MediaRecorder was created.
The videoBitsPerSecond read-only property of the MediaRecorder interface returns the video encoding bit rate in use.
Functions
The requestData() method of the MediaRecorder interface is used to raise a dataavailable event containing a Blob object of the captured media as it was when the method was called. This can then be grabbed and manipulated as you wish.