- From: Adam Bergkvist <adam.bergkvist@ericsson.com>
- Date: Thu, 23 May 2013 09:06:34 +0200
- To: Frederick.Hirsch@nokia.com
- CC: mandyam@quicinc.com, Jim.Barnett@genesyslab.com, public-media-capture@w3.org
On 2013-05-22 22:49, Frederick.Hirsch@nokia.com wrote: > onstop, onerror and maybe onwarning events could need access to > accessor to allow MediaStream termination if needed. > Regarding getting access to the stream being recorded (point 5 in original mail); this is already supported via the event model. recorder.onstop = function (evt) { // find the stream via the event target (the recorder) var recStream = evt.target.stream; // or if you have a reference to the recorder you // can access it directly recStream = recorder.stream; }; /Adam
Received on Thursday, 23 May 2013 07:07:02 UTC