[Webkit-unassigned] [Bug 255324] New: Screen sharing stream is always forced to 1920x1080 with letterboxing regardless of the source size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 12 00:00:26 PDT 2023


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

            Bug ID: 255324
           Summary: Screen sharing stream is always forced to 1920x1080
                    with letterboxing regardless of the source size
           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: alex at khovansky.me
                CC: youennf at gmail.com

Created attachment 465861

  --> https://bugs.webkit.org/attachment.cgi?id=465861&action=review

Attempting to share a terminal window

Minimal reproduction: https://codepen.io/alx-khovansky/pen/MWPgBZG

This pen just requests `getDisplayMedia()` without any constraints and displays the output as well as reports the acquired track settings and capabilities (where supported).

Press `start` and select a non-16:9 surface to share. A window is probably the easiest but a non-16:9 screen would work too. For example, a 14-inch MacBook Pro.

Expected:
A video that matches the dimensions of the shared window.

Actual:
A video that has a 1920x1080 resolution regardless of the source dimensions and has a black area on one of the sides.

Note: the reported track capabilities contain the actual window resolution.
Another observation: past certain size the stream will have black borders on both sides.

-- 
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/20230412/37e7a1a2/attachment.htm>


More information about the webkit-unassigned mailing list