- From: William Lin <chaer.lin@gmail.com>
- Date: Thu, 12 Apr 2012 10:53:29 +0800
- To: public-media-capture@w3.org
- Message-ID: <CAN2-_OnMc0DTV24qX5qA-vFCPhNv6TO5FdFApWv6dCx0RjPpmg@mail.gmail.com>
Hi,
in these days, Constraints and Capabilities API for getUserMedia were
discussed while i found one scenario doesn't be covered:
"users may want to initiate capture from multiple devices at one time in
multiple media streams" (refer to
http://www.w3.org/TR/capture-scenarios/#multiple-active-devices).
is it possible adding the options to set the number of active devices? and
the callback function needs to change:
2.1.3 NavigatorUserMediaSuccessCallback
[Callback=FunctionOnly, NoInterfaceObject]
interface NavigatorUserMediaSuccessCallback { void handleEvent
<http://dev.w3.org/2011/webrtc/editor/getusermedia.html#widl-NavigatorUserMediaSuccessCallback-handleEvent-void-LocalMediaStream-stream>
(LocalMediaStream stream);
};
-->
[Callback=FunctionOnly, NoInterfaceObject]
interface NavigatorUserMediaSuccessCallback { void handleEvent
<http://dev.w3.org/2011/webrtc/editor/getusermedia.html#widl-NavigatorUserMediaSuccessCallback-handleEvent-void-LocalMediaStream-stream>
(LocalMediaStream[] streams);
};
br,
william
Received on Thursday, 12 April 2012 14:31:20 UTC