Bug 1623987 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Camera tracks are missing label, and the facingMode constraint is broken in Fenix.

STR 1:
 1. Open https://fiddle.jshell.net/jib1/LbtxeLvw/show (to work around bug 1616729)
 2. Click `Start Camera!` button and allow camera
 3. Click `EnumerateDevices!` button

Expected result (like on Fennec):
```
...
videoinput: Camera 0, Facing back, Orientation 270
videoinput: Camera 1, Facing front, Orientation 270
```
(or similar)

Actual result:

No videoinput labels at all. This breaks our `facingMode` [implementation](https://searchfox.org/mozilla-central/rev/6cd54550a27e2f6ca0755a25328f769e41e524f4/dom/media/webrtc/MediaEngineRemoteVideoSource.cpp#41-42,44-45):

STR 2:
 1. Open https://fiddle.jshell.net/jib1/fsexmu8v/ and click `Front` or `Back` button and allow.

Expected result:
 * Front or back camera video shown

Actual result:
* OverconstrainedError: Constraints could not be satisfied.
Camera tracks are missing label, and the facingMode constraint is broken in Fenix.

STR 1:
 1. Open https://fiddle.jshell.net/jib1/LbtxeLvw/show (to work around bug 1616729)
 2. Click `Start Camera!` button and allow camera
 3. Click `EnumerateDevices!` button

Expected result (like on Fennec):
```
...
videoinput: Camera 0, Facing back, Orientation 270
videoinput: Camera 1, Facing front, Orientation 270
```
(or similar)

Actual result:

No videoinput labels at all. This breaks our `facingMode` [implementation](https://searchfox.org/mozilla-central/rev/6cd54550a27e2f6ca0755a25328f769e41e524f4/dom/media/webrtc/MediaEngineRemoteVideoSource.cpp#41-42,44-45):

STR 2:
 1. Open https://fiddle.jshell.net/jib1/fsexmu8v/ and click `Front` or `Back` button and allow.

Expected result (like on Fennec):
 * Front or back camera video shown

Actual result:
* OverconstrainedError: Constraints could not be satisfied.

Back to Bug 1623987 Comment 0