RESOLVED DUPLICATE of bug 250200250199
The stream obtained through navigator.mediaDevices.getDisplayMedia has black edges on both sides of the video. And cannot set width and height
https://bugs.webkit.org/show_bug.cgi?id=250199
Summary The stream obtained through navigator.mediaDevices.getDisplayMedia has black ...
mawencan
Reported 2023-01-06 02:30:35 PST
Created attachment 464370 [details] https://meet.google.com mac m1 air ``` const shareOptions: DisplayMediaStreamOptions = { video: true, audio: { echoCancellation: true, noiseSuppression: true, sampleRate: 44100, }, }; stream = await navigator.mediaDevices.getDisplayMedia(shareOptions); video.srcObject = stream; video.play(); ``` There are black edges on both sides of the video. I hope the video content is covered without black edges -------------------- Or by https://meet.google.com To reproduce
Attachments
https://meet.google.com (679.57 KB, image/png)
2023-01-06 02:30 PST, mawencan
no flags
Alexey Proskuryakov
Comment 1 2023-01-07 11:20:04 PST
*** This bug has been marked as a duplicate of bug 250200 ***
Note You need to log in before you can comment on or make changes to this bug.