From 4d5ed9c9c3450b5aa8c4d2de05a2a12918fbdd39 Mon Sep 17 00:00:00 2001 From: David Zhao Date: Wed, 4 Dec 2024 00:35:12 -0800 Subject: [PATCH] missed a spot --- livekit-rtc/livekit/rtc/track.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/livekit-rtc/livekit/rtc/track.py b/livekit-rtc/livekit/rtc/track.py index 6c24607c..8a6fe692 100644 --- a/livekit-rtc/livekit/rtc/track.py +++ b/livekit-rtc/livekit/rtc/track.py @@ -85,12 +85,14 @@ def mute(self): req.local_track_mute.track_handle = self._ffi_handle.handle req.local_track_mute.mute = True FfiClient.instance.request(req) + self._info.muted = True def unmute(self): req = proto_ffi.FfiRequest() req.local_track_mute.track_handle = self._ffi_handle.handle req.local_track_mute.mute = False FfiClient.instance.request(req) + self._info.muted = False def __repr__(self) -> str: return f"rtc.LocalAudioTrack(sid={self.sid}, name={self.name})"