Closed Bug 1229926 Opened 4 years ago Closed 4 years ago

Attempting to start a "browser" (aka tab) share with fake streams gives "OverconstrainedError: Constraints could be not satisfied., line 0"

Categories

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

33 Branch
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: standard8, Assigned: jib)

References

(Depends on 1 open bug)

Details

Attachments

(2 files)

STR:

1) In about:config set the following:

media.navigator.permission.disabled;true
media.navigator.streams.fake;true

2) Visit http://mozilla.github.io/webrtc-landing/gum_test.html
3) Select Start

Expected Results

A display of the browser tab is shown

Actual Results

"OverconstrainedError: Constraints could be not satisfied." is displayed
Bug 1229926 - don't throw OverConstrainedError(deviceId) on fake devices
Attachment #8695098 - Flags: review?(rjesup)
Bug 1229926 - only fake cams and mics.
Attachment #8695099 - Flags: review?(rjesup)
Assignee: nobody → jib
I've just given the patches a quick run against our test that was failing, and can confirm they definitely fix that as well. Thanks Jib!
Comment on attachment 8695098 [details]
MozReview Request: Bug 1229926 - don't throw OverConstrainedError(deviceId) on fake devices

https://reviewboard.mozilla.org/r/27001/#review24507
Attachment #8695098 - Flags: review?(rjesup) → review+
Comment on attachment 8695099 [details]
MozReview Request: Bug 1229926 - only fake cams and mics.

https://reviewboard.mozilla.org/r/27003/#review24509
Attachment #8695099 - Flags: review?(rjesup) → review+
https://hg.mozilla.org/mozilla-central/rev/d3ff440af25d
https://hg.mozilla.org/mozilla-central/rev/39c9062db9d9
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Depends on: 1232823
You need to log in before you can comment on or make changes to this bug.