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

[Bug 22251] Define better error when no video or audio source is available

From: <bugzilla@jessica.w3.org>
Date: Fri, 02 Aug 2013 09:10:44 +0000
To: public-media-capture@w3.org
Message-ID: <bug-22251-5753-XVS6mkD5Ss@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22251

--- Comment #3 from Paul Neave <paul.neave@gmail.com> ---
I recently made a proposal for two new NavigatorUserMediaError error codes on
the mailing list:
http://lists.w3.org/Archives/Public/public-media-capture/2013Jul/0124.html

They are:

HARDWARE_UNAVAILABLE - A suitable device is connected but a hardware error
prevented access (such as an OS/program/webpage lock)

and

NO_DEVICES_FOUND - No suitable devices are connected whatsoever

This matches Firefox's current implementation, and I would like to see them
formerly adopted into the spec.

Also, perhaps all NavigatorUserMediaError error codes should use camelCase
instead and inherit from DOMError, as ticket 22216 has requested:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22216

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Friday, 2 August 2013 09:10:45 UTC

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