Bug 259679

Summary: (Safari V17): The green outgoing video is displayed for other Users if macOS User selects the presenter overlay and then starts to share the screen
Product: WebKit Reporter: Madara Freimane <madara.freimane>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: eric.carlson, jer.noble, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Mac (Apple Silicon)   
OS: Other   

Description Madara Freimane 2023-08-01 00:37:50 PDT
Summary:
(Safari V17): The green outgoing video is displayed for other Users if macOS User selects the presenter overlay and then starts to share the screen

Tested devices:
The bug is reproducible on:
- MacBook Pro (M1, 2020, macOS Sonoma Public 14 Beta (23A5286i)) and Safari (Version 17.0 (19616.1.20.11.3))
- MacBook Pro (M1, 2020, macOS Sonoma Developer 14 Beta (23A5301g)) and Safari (Version 17.0 (19616.1.24.11.3))

Use case:
Precondition:
Safari browser opened and User has an active WebRTC call with screen sharing enabled

Steps:
1. macOS User joins a WebRTC call with video ON
2. macOS User clicks on the share button
3. macOS User selects the option "Allow to Share Screen" on Safari permission pop-up "Allow "{nameOfSite}" to share your screen?"
4. macOS User selects the presenter overlay "Small" or "Large" in the ScreenShare settings
5. macOS User clicks on the button "Screen"
6. macOS User selects the screen that User wants to share with other Users

Actual result:
- The green outgoing video is displayed for other Users if macOS User selects the presenter overlay and then starts to share the screen, also the camera preview is in a green colour for a macOS User
- The selected screen is shared with other participants

Expected result:
- The outgoing video and camera preview are displayed expected, without unexpected colours
- The selected screen is shared with other participants

Reproducibility:
100%


Additional information:
-Sysdiagnostics file added:
https://drive.google.com/file/d/1J61lWpck4JKsKJhE3Os0ro7ED4eJKoCB/view?usp=sharing 
(bug reproduced at 18:15, EET, 31.07.2023.)
Comment 1 Radar WebKit Bug Importer 2023-08-01 07:11:59 PDT
<rdar://problem/113204722>
Comment 2 youenn fablet 2023-09-05 09:01:55 PDT
@Madara, can you retry on the latest macOS beta?
Comment 3 Madara Freimane 2024-05-31 03:43:17 PDT
This issue has been deemed no longer relevant, as it has been fixed in previous macOS/Safari versions. Therefore, I am closing this ticket. 
Thank you!