From f5c681d5096e23dc332074e273a9dedc77d11dd6 Mon Sep 17 00:00:00 2001 From: CloudWebRTC Date: Mon, 11 Dec 2023 11:20:00 +0800 Subject: [PATCH] fix: invalid muted state for local publication. (#426) --- lib/src/publication/track_publication.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/publication/track_publication.dart b/lib/src/publication/track_publication.dart index f87222bf..549222ba 100644 --- a/lib/src/publication/track_publication.dart +++ b/lib/src/publication/track_publication.dart @@ -131,6 +131,7 @@ abstract class TrackPublication extends Disposable { '${this} Sending mute signal... sid:${sid}, muted:${event.muted}'); participant.room.engine.signalClient.sendMuteTrack(sid, event.muted); } + _metadataMuted = event.muted; // emit events final newEvent = event.muted ? TrackMutedEvent(participant: participant, publication: this)