- From: Randy Lin <rlin@mozilla.com>
- Date: Mon, 29 Jul 2013 19:31:28 -0700 (PDT)
- To: public-media-capture@w3.org
Refer to https://dvcs.w3.org/hg/dap/raw-file/tip/media-stream-capture/MediaRecorder.html 2013/6/12 draft
1. From this statement: "it must raise a DOMError event, followed by a dataavailable event containing the Blob it has gathered, follwed by the stoprecording event."
Where is the stoprecording definition? Is onstop?
2. At stop method sec 4. Raise a done event, what is done event?
3. If the mediaStream status become stopped or finished, should the MediaRecorder stop encoding the raw data and raise a DOMError to notify UA? Also raise onstop event to UA?
4. What the expect behavior if user use this loop to retrieve encoded data
var mr = new MediaRecorder(mediaStream)
mr.start();
mr.ondataavailable = function(e)
{
//processing blob e
mr.requestData();
}
mr.requestData();
If there is no encoded data now, should we fire a ondataavailable event to UA with blob size = 0 immediately ? Or delay to fire the ondataavailable event until MediaRecorder get encoded data?
5. What's MdiaSteamEvent, on part 7, Event name : resume; Interface MediaSteamEvent
-------------------------------------
-rlin
Received on Tuesday, 30 July 2013 02:31:55 UTC