From a36ebf47689b9c73a70ed337abefc33f5d5cbe8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Monnom?= Date: Wed, 20 Dec 2023 01:38:30 +0100 Subject: [PATCH] update track_sid after publishing (#128) --- livekit-rtc/livekit/rtc/participant.py | 1 + 1 file changed, 1 insertion(+) diff --git a/livekit-rtc/livekit/rtc/participant.py b/livekit-rtc/livekit/rtc/participant.py index 9ea65200..a7491156 100644 --- a/livekit-rtc/livekit/rtc/participant.py +++ b/livekit-rtc/livekit/rtc/participant.py @@ -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()