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

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