Open Bug 1213046 Opened 9 years ago Updated 3 years ago

Desktop getUserMedia permissions prompt ignores optional constraints

Categories

(Firefox :: Site Permissions, defect, P3)

defect

Tracking

()

Tracking Status
firefox44 --- affected

People

(Reporter: jib, Unassigned)

References

(Depends on 1 open bug)

Details

STR:
1. On a desktop system with two cameras, open http://jsfiddle.net/79a1v78j/ in Nightly.
2. Hit [Start] and select the second camera in the doorhanger.
3. Refresh page.
4. Hit [Start] again.

Expected result:
- The doorhanger defaults to the first camera.

Actual result:
- The doorhanger defaults to the second camera.

According to Bug 989094 comment 3, desktop implements (by accident?) a kind of "last used" default. Unfortunately, this ignores optional constraints from the web-site.

Optional constraints are things a website would like to have considered, but can live without in the camera chosen. Unless the user explicitly chooses something else, we should satisfy the optional constraints.

It works fine on Android (no "last used" feature there, Bug 989094).

Once Bug 1212501 is fixed, it should be possible to respect optional constraints and attempt "last used" at the same time.
Summary: Desktop WebRTC permissions prompt ignores optional constraints → Desktop getUserMedia permissions prompt ignores optional constraints
Severity: normal → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.