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.
<rdar://problem/131076417>
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?