W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2012

draft proposal : active multiple devices for getUserMedia

From: William Lin <chaer.lin@gmail.com>
Date: Thu, 12 Apr 2012 10:53:29 +0800
Message-ID: <CAN2-_OnMc0DTV24qX5qA-vFCPhNv6TO5FdFApWv6dCx0RjPpmg@mail.gmail.com>
To: public-media-capture@w3.org
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:14:59 GMT