Bug 275918 - mediastreamtrack ended event not fired when permissions changed
Summary: mediastreamtrack ended event not fired when permissions changed
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 18
Hardware: iPhone / iPad iOS 17
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-06-26 14:11 PDT by michael.hyun3
Modified: 2024-07-04 00:02 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael.hyun3 2024-06-26 14:11:46 PDT
https://github.com/aws/amazon-chime-sdk-js/issues/2912

The mediastreamtrack ended event is not triggered when the permissions for the media stream type is changed.
Comment 1 Radar WebKit Bug Importer 2024-07-03 14:12:27 PDT
<rdar://problem/131076417>
Comment 2 youenn fablet 2024-07-04 00:02:08 PDT
Safari has UI to do two things:
- Mute/unmute capture, in which case onunmute/onmute event handlers will be called
- Change Safari per-site settings, camera is by default 'Ask' and can also be set to Allow, Deny. If setting to Deny, the current capture will not be stopped, it is only on page reload that the new settings value will happen.

I am not sure whether we should change anything. Could you precise what the ask is?