-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The update capture state algorithm needs refinement #332
Comments
Good point, unmute is somehow error-prone from the point of view of the UA, so I wonder what the error handling should be.
|
I hesitate calling it an "error". In my mind, we're unchecking I think 2 is the only interoperable option. Example (UA1 implements a pause policy, UA2 doesn't):
Importantly, the states are the same before and after the bio-break, regardless of UA. This seems interoperable, safe, unsurprising, and useful. In contrast, 1 would fail setMicrophoneActive(true) and leave both tracks |
To implement the update capture state algorithm given active=
true
, we see a UA that implements a policy of pausing all input sources of a kind in response to UI is expected to reverse a previous UI pausing. This culminates in:But this setting of newMutedState to false might conflict with other implementation-defined reasons the UA may have muted a particular source, like "a physical mute button on the microphone, the user closing a laptop lid with an embedded camera".
We should amend it to allow UAs to leave such sources muted. A track can be muted both by UI and physical reasons, and we should only fire
unmute
when it is neither.The text was updated successfully, but these errors were encountered: