Skip to content

Fix: mute Remote mute/unmute events - #54

Merged
hiroshihorie merged 2 commits into
mainfrom
fix-mute-2
Dec 12, 2021
Merged

hiroshihorie merged 2 commits into
mainfrom
fix-mute-2

Conversation

@hiroshihorie

@hiroshihorie hiroshihorie commented Dec 11, 2021 •

Copy link
Copy Markdown
Member

LK-370
Issue #52

RemoteTrackPublication.updateFromInfo was not triggering events... 😞

Local
LocalTrackPublication.mute() or LocalTrack.mute() -> Track.updateMuted(shouldSendSignal:true) -> TrackPublication._onTrackMuteUpdatedEvent() -> TrackMutedEvent/TrackUnmutedEvent emitted.

Remote
RemoteTrackPublication.updateFromInfo -> Track.updateMuted(shouldSendSignal:false) -> TrackPublication._onTrackMuteUpdatedEvent() -> TrackMutedEvent/TrackUnmutedEvent emitted.

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