Skip to content
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

Allow for overriding reasons tracks stay muted #335

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jan-ivar
Copy link
Member

@jan-ivar jan-ivar commented Jul 12, 2024

Fixes #332 (also renames a variable to improve clarity). cc @youennf PTAL.


Preview | Diff

<ol>
<li>
Provided <var>track</var> is not [=MediaStreamTrack/muted=]
by the user agent for reasons that override its [=pausing all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, we might be again in capture state UI out of sync with the device mute state.
It seems to me that, in the usual case of capturing with only one device, UA should instead deny the request.

It is really only when there are multiple capture devices that is fine to do what you are suggesting (In that case the capture state UI will also be in sync since at least one device will restart capture).

It seems a note for implementors stating the reasons to override and/or deny might be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The update capture state algorithm needs refinement
2 participants