Catch some instances of traversing map outside lock (#388)

* one more place, do not range over map outside lock

* Catch one more location

* Catching a couple of more places
This commit is contained in:
Raja Subramanian
2022-01-29 20:14:36 +05:30
committed by GitHub
parent 3430650d3e
commit 3bfdb2523e
6 changed files with 93 additions and 165 deletions
+4
View File
@@ -64,6 +64,10 @@ func (t *SubscribedTrack) PublisherIdentity() livekit.ParticipantIdentity {
return t.params.PublisherIdentity
}
func (t *SubscribedTrack) SubscriberID() livekit.ParticipantID {
return t.params.SubscriberID
}
func (t *SubscribedTrack) DownTrack() *sfu.DownTrack {
return t.params.DownTrack
}