[Webkit-unassigned] [Bug 254652] New: When using applyConstraints, a green screen appears for screen sharing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 29 01:50:26 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=254652

            Bug ID: 254652
           Summary: When using applyConstraints, a green screen appears
                    for screen sharing
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          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: true,
   audio: false,
});
const screenTrack = stream.getVideoTracks()[0];
// $("localVideo") === video tag
$("localVideo").srcObject = new MediaStream([screenTrack]);
$("localVideo").play();
try {
   screenTrack.applyConstraints({
      height: 480,
   });
} catch (error) {
   console.error(error);
}


Safari version: 16.3
OS Version: 13.2.1 (22D68) Ventura


Currently measured 16.2-16.4 are reproduced and in Ventura system, in other systems normal, it seems to be Ventura system bugs

-- 
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/20230329/4777f88e/attachment.htm>


More information about the webkit-unassigned mailing list