Catching a few more files with types (#299)

* Use types in mediatrack.go

* A bunch more files get types

* One more file
This commit is contained in:
Raja Subramanian
2021-12-29 23:51:06 +05:30
committed by GitHub
parent fe06b46e94
commit 9d78619ca3
15 changed files with 174 additions and 174 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ func (u *UptrackManager) AddSubscriber(sub types.Participant, params types.AddSu
if params.AllTracks {
tracks = u.GetPublishedTracks()
} else {
for _, trackID := range params.TrackSids {
for _, trackID := range params.TrackIDs {
track := u.getPublishedTrack(trackID)
if track == nil {
continue