mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 21:53:22 +00:00
Use correct subscriber id in dynacast notify (#2972)
This commit is contained in:
1 parent
6de871d4e8
commit
d6ce2338e2
1 file changed
+1
-1
@@ -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