[Webkit-unassigned] [Bug 253024] getDisplayMedia prompt failure leads to getDisplayMedia prompt and media capture failures on reload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 13 23:50:10 PDT 2023


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

sknth.n at protonmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sknth.n at protonmail.com

--- Comment #2 from sknth.n at protonmail.com ---
We're observing this issue on the current setups:
MacOS: 13.2.1 Ventura
Safari 16.3, 16.4
It is reproducible every time.

Safari has been given Screen Recording permissions in the System settings.

When we try to share the screen, it fails with this error in the console:
"A MediaStreamTrack ended due to a capture failure"

I tried experimenting with the video constraints while calling getDisplayMedia(). When sending a basic object in as video constraints like below, the screen sharing works perfectly fine.
{
    aspectRatio: 1.777,
    frameRate: 10,
}


However, if we send in video constraints like these, we observe the problem.
{
    "cursor": "always",
    "aspectRatio": 1.77,
    "frameRate": 10,
    "height": 1080,
    "width": 1920
}

{
    cursor: "always",
    frameRate: 10,
    height: 1080,
    idealHeight: 1080,
    idealWidth: 1920,
    maxHeight: 1080,
    maxWidth: 1920,
    width: 1920
}

-- 
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/20230414/ee053c45/attachment.htm>


More information about the webkit-unassigned mailing list