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

fix: check muted property for mute getter #69

Merged
merged 3 commits into from
Jan 19, 2024
Merged

fix: check muted property for mute getter #69

merged 3 commits into from
Jan 19, 2024

Conversation

brycetham
Copy link
Contributor

@brycetham brycetham commented Jan 18, 2024

This PR also checks the mute property of the track when calling LocalStream.muted. This more accurately reflects the mute state of the track; for example, when sharing a window, the track gets muted by the browser when the shared window is minimized.

bbaldino
bbaldino previously approved these changes Jan 18, 2024
@brycetham
Copy link
Contributor Author

Holding off on merging this until I make some changes regarding the MuteStateChange event. We should only fire this if the mute state actually changes, taking into account both muted and enabled properties.

@brycetham brycetham marked this pull request as draft January 18, 2024 21:28
@brycetham brycetham marked this pull request as ready for review January 19, 2024 14:07
@brycetham brycetham merged commit f07754c into main Jan 19, 2024
1 check passed
@brycetham brycetham deleted the btham/fix_mute branch January 19, 2024 16:39
bbaldino pushed a commit that referenced this pull request Jan 19, 2024
## [2.3.1](v2.3.0...v2.3.1) (2024-01-19)

### Bug Fixes

* check muted property for mute getter ([#69](#69)) ([f07754c](f07754c))
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.

2 participants