W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2014

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 09 Apr 2014 17:02:56 +0000
To: public-media-capture@w3.org
Message-ID: <bug-25298-5753@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25298

            Bug ID: 25298
           Summary: How to represent VideoFacingMode if browser is not
                    able to detect the FacingMode of the camera.
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: kiran.guduru@samsung.com
                CC: public-media-capture@w3.org

In certain scenarios, for example if an external webcam is connected through
USB cable or bluetooth, it may not be possible for the browser to identify the
exact facing direction of the camera.

In such scenarios,(if browser is not able to identify the facing direction of
the camera), there is no attribute in the VideoFacindMode enum to
represent/initialize.

I prefer to add new "unknown" attribute to videoFacingMode enum, so that if
browser is not able to detect the videoFacingMode, then it must be set to
"unknown".

The new enum might be like this

enum VideoFacingModeEnum {
    "user",
    "environment",
    "left",
    "right",
    "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:03:01 UTC

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