File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,10 @@ def on_track_subscribed(
4949 print (f"participant identity: { participant .identity } " )
5050 print (f"participant name: { participant .name } " )
5151 print (f"participant kind: { participant .kind } " )
52- print (f"participant track publications: {
53- participant .track_publications } " )
52+ print (
53+ f"participant track publications: {
54+ participant .track_publications } "
55+ )
5456 for tid , publication in participant .track_publications .items ():
5557 print (f"\t track id: { tid } " )
5658 print (f"\t \t track publication: { publication } " )
Original file line number Diff line number Diff line change @@ -114,12 +114,14 @@ def mute(self):
114114 req .local_track_mute .track_handle = self ._ffi_handle .handle
115115 req .local_track_mute .mute = True
116116 FfiClient .instance .request (req )
117+ self ._info .muted = True
117118
118119 def unmute (self ):
119120 req = proto_ffi .FfiRequest ()
120121 req .local_track_mute .track_handle = self ._ffi_handle .handle
121122 req .local_track_mute .mute = False
122123 FfiClient .instance .request (req )
124+ self ._info .muted = False
123125
124126 def __repr__ (self ) -> str :
125127 return f"rtc.LocalVideoTrack(sid={ self .sid } , name={ self .name } )"
You can’t perform that action at this time.
0 commit comments