Closed Bug 1380795 Opened 7 years ago Closed 4 years ago

WebRTC defaults to back camera instead of front on Android

Categories

(Core :: WebRTC: Audio/Video, defect, P3)

Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: ajones, Assigned: padenot)

References

Details

Attachments

(1 file)

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!
Mass change P1->P2 to align with new Mozilla triage process
Priority: P1 → P2
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3

:Sylvestre, the Fenix team is asking for this bug to move in priority. This will help improve camera user experience in Fenix.

Assignee: nobody → padenot
Keywords: stale-bug
Attachment #9176007 - Attachment description: Bug 1380795 - On Android, always put the front camera first in the list, as it's more likely to be what users want by default. r?pehrsons → Bug 1380795 - On Android, always put the front camera first in the list, as it's more likely to be what users want by default. r?pehrsons,dminor
Pushed by padenot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/84c10a1c500d
On Android, always put the front camera first in the list, as it's more likely to be what users want by default. r=pehrsons,dminor
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: