[Webkit-unassigned] [Bug 270628] New: black borders appears for screen sharing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 7 02:08:04 PST 2024


            Bug ID: 270628
           Summary: black borders appears for screen sharing
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: Unspecified
            Status: NEW
          Severity: Blocker
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ltsg0317 at outlook.com
                CC: youennf at gmail.com

Steps to reproduce the problem:

const stream = await navigator.mediaDevices.getDisplayMedia({
   video: {
     width: "700",
     height: "400"
   audio: false,
const screenTrack = stream.getVideoTracks()[0];
// $("localVideo") === video tag
$("localVideo").srcObject = new MediaStream([screenTrack]);

Safari version: >= 16.3.1
OS Version: 14.3.1 (23D60)

demo: https://jsfiddle.net/ltsg0317/tuvb6Lyq/1/
pic: https://res.cloudinary.com/dhx2zug13/image/upload/v1709806033/webkit/screenshare_zdb2ou.png

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/20240307/84cbef06/attachment.htm>

More information about the webkit-unassigned mailing list