Bug 243546

Summary: The camera and audio still works if User disables permissions for them in the middle of the WebRTC call
Product: WebKit Reporter: Madara Freimane <madara.freimane>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   
Attachments:
Description Flags
sysdiagnose_2022.08.04_18-15-12+0300_iPhone-OS_iPhone_19G71.tar.gz none

Description Madara Freimane 2022-08-04 08:45:33 PDT
Created attachment 461399 [details]
sysdiagnose_2022.08.04_18-15-12+0300_iPhone-OS_iPhone_19G71.tar.gz

Summary:
The camera and audio still works if User disables permissions for them in the middle of the WebRTC call

Tested devices:
Bug is reproducible on:
- iPhone 11 | iOS 15.6 (19G71)
- iPhone 13 | iOS 16 Beta 4 (20A5328h)

Scenario:
Precondition:
Safari browser is opened for the User
User has an active WebRTC call

Steps:
1. iOS User opens Website settings
2. iOS User disables (selects "Deny") "Camera" and "Microphone" permissions for the page

Actual result:
The camera and audio still works if User disables permissions for them in the middle of WebRTC call
(Changes for permissions are applied only after the page is reloaded)

Expected result:
The camera and audio do not work anymore if User disables permissions for them in the middle of WebRTC call

Reproducibility:
100%

Additional information:
-Bug is not reproducible with Android OS using different browsers.
-Log file added in attachments (defect reproduced with Google WebRTC sample on 04.08.22 at 18:15 CET)
Comment 1 Radar WebKit Bug Importer 2022-08-17 02:08:42 PDT
<rdar://problem/98772142>
Comment 2 youenn fablet 2022-08-17 02:11:54 PDT
This is a decision from Safari, I forwarded the information to the responsible team.
Closing this bug as moved.