mirror of
https://github.com/livekit/livekit.git
synced 2026-04-28 19:16:09 +00:00
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 {
|
||||
go func() {
|
||||
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