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: emit track-muted event for local tracks #544

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

Conversation

kbalt
Copy link
Contributor

@kbalt kbalt commented Jan 9, 2025

Currently there's no way to know when a track was muted by a moderator since track changes from the server were ignored.

This updates the TrackInfo of the local participant in a similar way, to how its done for remote participants.

While this seems to work, I'm not sure if this is the correct way to do this, since the comment in https://github.com/livekit/rust-sdks/blob/main/livekit/src/room/publication/remote.rs#L157 seems to imply that this should already work for local publications?

Copy link
Contributor

ilo-nanpa bot commented Jan 9, 2025

it seems like you haven't added any nanpa changeset files to this PR.

if this pull request includes changes to code, make sure to add a changeset, by writing a file to .nanpa/<unique-name>.kdl:

minor type="added" "Introduce frobnication algorithm"

refer to the manpage for more information.

@kbalt kbalt changed the title feat: emit track-muted event for local tracks fix: emit track-muted event for local tracks Jan 9, 2025
@kbalt kbalt force-pushed the local-track-muted-event branch from 36905ef to 42bd9c5 Compare January 9, 2025 16:04
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.

1 participant