Use correct subscriber id in dynacast notify (#2972)
This commit is contained in:
@@ -176,7 +176,7 @@ func (t *MediaTrackSubscriptions) AddSubscriber(sub types.LocalParticipant, wr *
|
|||||||
if t.onSubscriberMaxQualityChange != nil {
|
if t.onSubscriberMaxQualityChange != nil {
|
||||||
go func() {
|
go func() {
|
||||||
spatial := buffer.VideoQualityToSpatialLayer(livekit.VideoQuality_HIGH, t.params.MediaTrack.ToProto())
|
spatial := buffer.VideoQualityToSpatialLayer(livekit.VideoQuality_HIGH, t.params.MediaTrack.ToProto())
|
||||||
t.onSubscriberMaxQualityChange(subscriberID, codec, spatial)
|
t.onSubscriberMaxQualityChange(downTrack.SubscriberID(), codec, spatial)
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user