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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user