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

[Bug 25298] 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 18:21:34 +0000
To: public-media-capture@w3.org
Message-ID: <bug-25298-5753-2sWVYO2eHU@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25298

--- Comment #9 from Jan-Ivar Bruaroey [:jib] <jib@mozilla.com> ---
Just to take both positions here, one argument FOR "unknown" would be to
future-proof so we can add new enum values in the future. This would rely on
Bug 19936 being addressed, which would let us write:

enum VideoFacingModeEnum {
    "user",
    "environment",
    "left",
    "right",
    "unknown" = default
};

-- 
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:21:35 UTC

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