Skip to content

Commit

Permalink
update track_sid after publishing (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom authored Dec 20, 2023
1 parent ac55b9d commit a36ebf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions livekit-rtc/livekit/rtc/participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ async def publish_track(

track_publication = LocalTrackPublication(cb.publish_track.publication)
track_publication.track = track
track._info.sid = track_publication.sid
self.tracks[track_publication.sid] = track_publication

queue.task_done()
Expand Down

0 comments on commit a36ebf4

Please sign in to comment.