Gecko:MediaRecorder: Difference between revisions

Line 9: Line 9:
== Reference spec ==
== Reference spec ==
https://dvcs.w3.org/hg/dap/raw-file/default/media-stream-capture/MediaRecorder.html
https://dvcs.w3.org/hg/dap/raw-file/default/media-stream-capture/MediaRecorder.html
== Overview ==
This API allow user to do the recording stuff. UA can instatiates a mediaStream object, call the start() and then call end stop() or wait mediaStream to be ended.
The content of recording data would be encoded with the application select mine-type format and pass blob data via the dataavailable event. Application can also choose to receive smaller buffers of data at regular intervals.


== Media Recorder API ==
== Media Recorder API ==
Line 26: Line 30:
     void              requestData ();
     void              requestData ();
   };
   };
</code>
== Sample Code ==
<code>
</code>
</code>


Confirmed users
96

edits