Open Bug 1774109 Opened 3 years ago Updated 1 years ago

MediaRecorder does not handle size changes

Categories

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

Firefox 101
defect

Tracking

()

People

(Reporter: manatakahe, Unassigned)

References

Details

Attachments

(1 file)

Attached file mediarecorder.html

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0

Steps to reproduce:

Run attached test case

Actual results:

MediaRecorder should handle changes in video size (e.g. window size changes from getDisplayMedia())

Expected results:

Changing the size of the video source gives an error.

The same issue occurs with getDisplayMedia() which is potentially higher impact, becuase it means that MediaRecorder can't reliably record a window.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Recording' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Recording
Product: Firefox → Core

Perhaps support for size changes would be classified as an enhancement, but the Restricted {} error property on the "error" event at least looks like a defect.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
See Also: → 1232043

Reproduced when sharing a calc window application on Windows via getDisplayMedia api.
See https://jsfiddle.net/r3cwqhbn/3/
Cick Start button, select a window to share, then resize it

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: