Bug 1954846 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Here's a fiddle that allows changing constraints on a track while it's disabled https://jsfiddle.net/jib1/sbj1q6ko/

STR:
1. Open it and hit the `Go!` button
2. Observe that it shows (or adjust it to) a high resolution, something like `track 1280x720x30 (video 1280x720x30)`
3. Uncheck the `☑ enabled` checkbox
4. Drag the "height" slider down to ~480

Expected result:
- It changes to show `track 640x480x30 (video 1280x720x30)`

Actual result:
- Unchanged e.g. it still reads `track 1280x720x30 (video 1280x720x30.08)`
- Once you re-check the `☐ enabled` checkbox, it changes to `track 640x480x30 (video 640x480x30)`

Workaround:
- In about:config, set `media.getusermedia.camera.off_while_disabled.enabled` to `false`

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).
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:
1. Open it and hit the `Go!` button
2. Observe that it shows (or adjust it to) a high resolution, something like `track 1280x720x30 (video 1280x720x30)`
3. Uncheck the `☑ enabled` checkbox
4. Drag the "height" slider down to ~480

Expected result:
- It changes to show `track 640x480x30 (video 1280x720x30)`

Actual result:
- Unchanged e.g. it still reads `track 1280x720x30 (video 1280x720x30.08)`
- Once you re-check the `☐ enabled` checkbox, it changes to `track 640x480x30 (video 640x480x30)`

Workaround:
- In about:config, set `media.getusermedia.camera.off_while_disabled.enabled` to `false`
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:
1. Open it and hit the `Go!` button
2. Observe that it shows (or adjust it to) a high resolution, something like `track 1280x720x30 (video 1280x720x30)`
3. Uncheck the `☑ enabled` checkbox
4. 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 to `track 640x480x30 (video 640x480x30)`

Workaround:
- In about:config, set `media.getusermedia.camera.off_while_disabled.enabled` to `false`

Back to Bug 1954846 Comment 0