[Webkit-unassigned] [Bug 258626] New: getDisplayMedia video constraints not taking effect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 28 10:39:22 PDT 2023


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

            Bug ID: 258626
           Summary: getDisplayMedia video constraints not taking effect
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Intel)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: justin.martinez at bluejeans.com
                CC: youennf at gmail.com

When calling getDisplayMedia with the following constraints (https://jsfiddle.net/fzyg0xwm/1/):

navigator.mediaDevices.getDisplayMedia({
   video: { height: {ideal: 1080} },
   audio: false,
});`

I see the returned track settings in tech preview 172: 
{
  deviceId: "6A7F268D31CD7DDE138F809C24A624CE78A1AC9E",
  displaySurface: "monitor",
  frameRate: 30,
  height: 480,
  width: 0
}

I see the returned track settings with safari 16.5:
{
  deviceId: "C5D024CDADD6B6729E82D9E447E8E9CD83916D64",
  displaySurface: "monitor",
  frameRate: 30,
  height: 1080,
  width: 0
}

Additional calls to applyConstraints work but initial getDisplayMedia call does not return the expected stream settings. I'm assuming Tech Preview should have the same track settings as seen in 16.5.

-- 
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/20230628/35f4ebd2/attachment.htm>


More information about the webkit-unassigned mailing list