TrackInfo may not be available in Bind. (#918)

This commit is contained in:
Raja Subramanian
2022-08-15 21:18:22 +05:30
committed by GitHub
parent eaaec0aae1
commit 4f19866578
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -99,6 +99,7 @@ func (d *DummyReceiver) Upgrade(receiver sfu.TrackReceiver) {
d.downtrackLock.Lock()
for _, t := range d.downtracks {
receiver.AddDownTrack(t)
t.TrackInfoAvailable()
}
d.downtracks = make(map[livekit.ParticipantID]sfu.TrackSender)
d.downtrackLock.Unlock()