Refactoring channel handling (#2532)

* Refactoring channel handling

* Add a version to SubscriberID()
This commit is contained in:
Raja Subramanian
2024-03-01 15:08:07 +05:30
committed by GitHub
parent 95011d64f8
commit 9e334c7510
2 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ func (t *MediaTrackSubscriptions) AddSubscriber(sub types.LocalParticipant, wr *
downTrack.OnMaxLayerChanged(func(dt *sfu.DownTrack, layer int32) {
if t.onSubscriberMaxQualityChange != nil {
t.onSubscriberMaxQualityChange(subscriberID, dt.Codec(), layer)
t.onSubscriberMaxQualityChange(dt.SubscriberID(), dt.Codec(), layer)
}
})