W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2020

Re: [mediacapture-main] Relinquish device when all tracks are muted or disabled. (#662)

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Feb 2020 22:29:13 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-591677632-1582756152-sysbot+gh@w3.org>
> Safari is muting a page track if user grants another web page access to the camera/microphone. This API could be used by the other page to request access again instead of calling getUserMedia again.

@youennf I tried [this fiddle](https://jsfiddle.net/jib1/Ltg3eqn1/) in two different Safari windows and I understand what you mean now.

But why doesn't Safari automatically unmute the first window when I close the second? Or at least when I focus the first window again?

I don't see why the application should need to ask when it didn't want to be muted in the first place. It seems obvious to me that it wants to be unmuted, so why not just assume it does?

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/pull/662#issuecomment-591677632 using your GitHub account
Received on Wednesday, 26 February 2020 22:29:15 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:50 UTC