Bug 250199

Summary: The stream obtained through navigator.mediaDevices.getDisplayMedia has black edges on both sides of the video. And cannot set width and height
Product: WebKit Reporter: mawencan <1044926436>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Major CC: youennf
Priority: P2    
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   
Attachments:
Description Flags
https://meet.google.com none

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.