some tests

This commit is contained in:
David Zhao
2021-01-12 18:03:08 -08:00
parent bd885b1de9
commit 381ec58050
2 changed files with 33 additions and 1 deletions
+3 -1
View File
@@ -535,7 +535,9 @@ func (p *ParticipantImpl) handleTrackPublished(track types.PublishedTrack) {
p.lock.Lock()
delete(p.publishedTracks, track.ID())
p.lock.Unlock()
p.onTrackUpdated(p, track)
if p.onTrackUpdated != nil {
p.onTrackUpdated(p, track)
}
})
if p.onTrackPublished != nil {