- From: <bugzilla@jessica.w3.org>
- Date: Wed, 09 Apr 2014 18:13:14 +0000
- To: public-media-capture@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25298
Jan-Ivar Bruaroey [:jib] <jib@mozilla.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jib@mozilla.com
--- Comment #6 from Jan-Ivar Bruaroey [:jib] <jib@mozilla.com> ---
(In reply to Kiran from comment #5)
> I feel, if the value is not known, then browser should convey the same to
> JS. Other wise spec should explicitly specify that browser should return a
> NULL string in case of unknown facing mode.
All members in dictionaries are optional - and
constraints/settings/capabilities work like dictionaries in most respects - so
I believe the browser can omit the facingMode member entirely rather than fill
it with an empty string (which would be an illegal enum member currently).
Similarly, I would expect getCapabilities() to only contain facingMode when it
is known.
However we achieve it, I agree this needs clarification.
I would also like clarification on whether the following excludes a "camera of
unknown direction":
{video:{mandatory:{facingMode:['user','environment','left','right']}}}
I assume yes.
--
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, 9 April 2014 18:13:15 UTC