[Bug 25298] How to represent VideoFacingMode if browser is not able to detect the FacingMode of the camera.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25298

--- Comment #3 from Kiran <kiran.guduru@samsung.com> ---
I suggested this by considering the following scenario.

If MediaStreamTrack.states() is invoked from the JS, it will return
"MediaSourceStates", which internally contains "VideoFacingMode".
This attribute should be filled inside the browser. 

If browser don't know the exact direction facing of the camera, then spec is
not providing any option to fill in. Then browser has to fill in either assumed
or wrong default value or fill it with a NULL-String ("").

AFAIK Instead of returning NULL-String to JS, it is good to fill some
predefined value like "unknown".

-- 
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 17:48:50 UTC