Bug 247883

Summary: REGRESSION (MacOS 13 + Safari 16.1) ScreenShare does not work, the shared content not available for other Users if User tries to share entire screen using Safari
Product: WebKit Reporter: Madara Freimane <madara.freimane>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Critical CC: eric.carlson, jer.noble, karlcow, ralphbliu, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   

Description Madara Freimane 2022-11-14 02:17:11 PST
Summary:
Starting with MacOS 13 and using Safari browser, we are not able share the screen, the shared content not available for other participants in a call.

Tested devices and browsers:
Bug is reproducible on:
- MacBook Pro (M1, 2020, MacOS Ventura 13.0) and Safari (V16.1 (18614.2.9.1.12))
- MacBook Pro (M1, MacOS Ventura 13.0.1) and Safari (V16.1 (18614.2.9.1.12))

Bug is not reproducible on:
- MacBook Pro (M1, MacOS Ventura 13.0) and Google Chrome (V107.0.5304.87)
- MacBook Pro (Intel, 2020, MacOS Monterey 12.6) and Safari (V 16.0 (17614.1.25.9.10, 17614))
- MacBook Pro (Intel, 2020, MacOS Monterey 12.6.1) and Safari (V16.1 (17614.2.9.1.13, 17614))

Use case:
Preconditions:
User is in an active WebRTC call on Safari

Steps:
MacOS User who uses Safari starts share the entire screen

Actual result:
When sharing just the window, indications of screenshare are on but other users don't see what is being shared. Full screen sharing doesn't work at all

Expected result:
User is able to share their screen /window and others are able to see the screen/window

Reproducibility:
100%

Added sysdiagnostics file:
https://drive.google.com/file/d/1_BdTKjo1xgAryG2Wp64MYFxmQ7lCgTTD/view?usp=share_link
Bug reproduced at 11:08 am, 14.11.2022. (EET time zone).
Comment 1 Radar WebKit Bug Importer 2022-11-14 17:45:39 PST
<rdar://problem/102346052>
Comment 2 Karl Dubost 2022-11-14 18:32:20 PST
Madara thanks for the detailed report.
Which sites, applications are you using?
Comment 3 youenn fablet 2022-11-15 01:23:33 PST
@Madara, marking it as duplicate of bug 247310.
Please reopen if you think this is different.

*** This bug has been marked as a duplicate of bug 247310 ***
Comment 4 Madara Freimane 2022-12-27 03:19:31 PST
Hi, Youenn!

Bug is still reproducible with MacOS Ventura 13.1 + Safari (Version 16.2 (18614.3.7.1.5))

I added new sysdiagnostics file:
https://drive.google.com/file/d/1bq4J-b_-NPn3k_qhFIKhzrMtsezlrbBz/view?usp=share_link

If the bug fixed with https://bugs.webkit.org/show_bug.cgi?id=247310 , Do you know which version a correction could be expected with?
Comment 5 Brian Liu 2023-01-08 21:11:05 PST
Same, the issue is existed in 16.2 (18614.3.7.1.5) on my Mac Intel Ventura 13.1 (22C65)
Comment 6 Brian Liu 2023-01-08 21:23:50 PST
I can also reproduced the issue on Safari Technology Preview Release 160 (Safari 16.4, WebKit 18615.1.14.3)
Comment 7 Brian Liu 2023-01-09 20:40:14 PST
Fyi, see the solution I found borrows from Google Meet screen sharing https://stackoverflow.com/a/75065525/4796724