W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2013

[Bug 22101] Need a persistent means in JS to select specific camera (or microphone)

From: <bugzilla@jessica.w3.org>
Date: Wed, 22 May 2013 06:49:31 +0000
To: public-media-capture@w3.org
Message-ID: <bug-22101-5753-q4qbG4Ujls@http.www.w3.org/Bugs/Public/>

Adam Bergkvist <adam.bergkvist@ericsson.com> changed:

           What    |Removed                     |Added
                 CC|                            |adam.bergkvist@ericsson.com

--- Comment #3 from Adam Bergkvist <adam.bergkvist@ericsson.com> ---
(In reply to comment #2)
> No, the sourceId does not persist after reloading the page and can thus not
> be used in JavaScript. What I am looking for is a persistent way to identify
> cameras and a means to select these cameras in a gUM call through
> constraints.

The sourceId does indeed remain the same after a page reload.

>From the spec:
"sourceId of type DOMString
    The application-unique identifier for this source. The same identifier must
be valid between sessions of this application, but must also be different for
other applications. Some sort of GUID is recommended for the identifier.
Returned for all types of sources (video, audio, etc.). "

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Wednesday, 22 May 2013 06:49:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:17 UTC