mirror of
https://github.com/livekit/livekit.git
synced 2026-05-14 20:35:27 +00:00
set max layer in allocation (#4033)
This commit is contained in:
@@ -581,6 +581,7 @@ func (f *Forwarder) SetMaxSpatialLayer(spatialLayer int32) (bool, buffer.VideoLa
|
||||
|
||||
alloc.TargetLayer = f.vls.GetMax()
|
||||
alloc.RequestLayerSpatial = f.vls.GetMax().Spatial
|
||||
alloc.MaxLayer = f.vls.GetMax()
|
||||
|
||||
alloc.DistanceToDesired = getDistanceToDesired(
|
||||
f.muted,
|
||||
|
||||
Reference in New Issue
Block a user