WebRTC defaults to back camera instead of front on Android

NEW
Unassigned

Status

()

Core
WebRTC: Audio/Video
P2
normal
Rank:
18
5 months ago
3 months ago

People

(Reporter: kentuckyfriedtakahe, Unassigned)

Tracking

({stale-bug})

Firefox Tracking Flags

(Not tracked)

Details

Steps to reproduce:

* Navigate to a room on http://appear.in/
* Click on Allow cam/mic access

Expected results:

Default on Android should be front facing camera on the basis for a video call.

Actual results:

Front facing camera is back camera, which is good for taking photos but not so much for video calls.
I just tested the latest Chrome for Android with https://jsfiddle.net/jib1/srn9db4h/ and it defaults to my front camera, so aligning with that behavior seems like a good idea indeed.

As a side-note, commercial face-calling sites like appear.in really should not be relying on browser defaults, instead requesting the user-facing camera explicitly, with the facingMode constraint. [1] - Ironically, Chrome defaulting to the front camera (and not supporting facingMode yet) is liekly why sites aren't doing this right... 

[1] https://stackoverflow.com/questions/32086122/getusermedia-facingmode/32364912#32364912
Rank: 18
Priority: -- → P1
we added facingMode on appear.in two weeks ago, thanks for the hint!
Keywords: stale-bug
Mass change P1->P2 to align with new Mozilla triage process
Priority: P1 → P2
You need to log in before you can comment on or make changes to this bug.