[Webkit-unassigned] [Bug 250199] New: The stream obtained through navigator.mediaDevices.getDisplayMedia has black edges on both sides of the video. And cannot set width and height
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 6 02:30:35 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=250199
Bug ID: 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
Version: Safari 16
Hardware: Mac (Apple Silicon)
OS: macOS 13
Status: NEW
Severity: Major
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: 1044926436 at qq.com
CC: youennf at gmail.com
Created attachment 464370
--> https://bugs.webkit.org/attachment.cgi?id=464370&action=review
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230106/55736c93/attachment-0001.htm>
More information about the webkit-unassigned
mailing list