Re: [mediacapture-main] Only Firefox turns off device on disabled track. Stronger language needed? (#642)

> enabled is synchronous which makes it not straightforward to prompt on enabled value change.
If we believe this is an important pattern, we should add a proper API for that.

The user agent is allowed to fire the `mute` and `unmute` events at any time. So you can do this:
1. If a track is disabled for too long, fire the muted event.
2. Then if JS re-enables the track, prompt the user before reacquiring the device and fire the unmute event.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/642#issuecomment-557965365 using your GitHub account

Received on Monday, 25 November 2019 02:45:52 UTC