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/>

--- Comment #3 from Paul Neave <paul.neave@gmail.com> ---
I recently made a proposal for two new NavigatorUserMediaError error codes on
the mailing list:

They are:

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


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:

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