Skip to content

Commit

Permalink
fix: invalid muted state for local publication. (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwebrtc authored Dec 11, 2023
1 parent c36c7e4 commit f5c681d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/publication/track_publication.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ abstract class TrackPublication<T extends Track> 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)
Expand Down

0 comments on commit f5c681d

Please sign in to comment.