Open
Bug 1954846
Opened 7 months ago
The media.getusermedia.camera.off_while_disabled.enabled pref is leaked
Categories
(Core :: WebRTC: Audio/Video, defect)
Core
WebRTC: Audio/Video
Tracking
()
NEW
People
(Reporter: jib, Unassigned)
Details
Here's a fiddle that allows changing constraints on a track while it's disabled https://jsfiddle.net/jib1/sbj1q6ko/
It shows that Firefox's behavior could be improved to update its settings to be within constraints immediately instead of waiting until the device comes back online (basically we're leaking that the pref is on).
STR:
- Open it and hit the
Go!
button - Observe that it shows (or adjust it to) a high resolution, something like
track 1280x720x30 (video 1280x720x30)
- Uncheck the
☑ enabled
checkbox - Drag the "height" slider down to ~480
Expected result:
- It changes to show
track 640x480x30 (video 1280x720x30)
immediately
Actual result:
- Unchanged e.g. it still reads
track 1280x720x30 (video 1280x720x30.08)
- Once you re-check the
☐ enabled
checkbox, it changes totrack 640x480x30 (video 640x480x30)
Workaround:
- In about:config, set
media.getusermedia.camera.off_while_disabled.enabled
tofalse
You need to log in
before you can comment on or make changes to this bug.
Description
•