[Webkit-unassigned] [Bug 236870] New: M1 ARM Safari 14.1.1, 14.1.2 black screen share on remote side of peerconnection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 18 16:12:03 PST 2022


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

            Bug ID: 236870
           Summary: M1 ARM Safari 14.1.1, 14.1.2 black screen share on
                    remote side of peerconnection
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Mac (Apple Silicon)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: devalevenkatesh at gmail.com
                CC: youennf at gmail.com

Created attachment 452597

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

remote-inbound-rtp-video-stats-graphs-screenshot

Hello Team,

Problem
The screen sharing over a peer connection with presenter being on M1 Safari 14, 14.1.1, 14.1.2 results into a black and grey screen on the remote side.
I tested on a tweaked WebRTC official sample to test getDisplayMedia with peer connection setup and could reproduce the issue. The problem prominently appears only when the presenter is on M1 mac with Safari 14 versions and the remote attendees are on any browsers. Issue not observed in intel macs with Safari latest versions 15+. Not tested the M1 with latest versions and I wont be able to go back to older software easily.

Reproduction Steps:
1. Open the codepen below in Safari Safari 14, 14.1.1, 14.1.2 on a M1 mac.
https://codepen.io/ldttmt/pen/mNrJqK
2. Click on "start", this should start sharing your entire screen once permitted. The local first video should show the screen share fine.
3. Now click "call" and see whether the second video element shows the shared screen.
4. In Safari, the screen share remains black.

Tested on FF and Chrome on the same sample and it works fine as expected. The screen sharing video appears on the second video after step 3 above.

Attaching few screenshots from our app built using Amazon Chime SDK for JavaScript which is also seeing similar behaviors. I could pull in the WebRTC dump and when checked the stats from the remote attendee side in chrome://webrtc-internals find that the stats and graphs are pretty much blank for the remote inbound RTP video stream coming from the screen share. Not sure if this codec issue or if we are missing something here.

Test Machine:
- M1 Mac Mini, macOS Big Sur 11.1, Safari 14.0.2
- Reported issues by others on M1 with Safari 14.1.1 or 14.1.2
- Open GitHub issue: https://github.com/aws/amazon-chime-sdk-js/issues/1209

I could not find any open or closed bug around M1 screen sharing issues so could you please help us if there is a workaround or if there is any existing bug that is fixed in latest versions?

Possible Related bugs:
1. https://bugs.webkit.org/show_bug.cgi?id=228776
2. https://bugs.webkit.org/show_bug.cgi?id=213481

-- 
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/20220219/c0a383c6/attachment.htm>


More information about the webkit-unassigned mailing list