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.TargetLayer = f.vls.GetMax()
|
||||||
alloc.RequestLayerSpatial = f.vls.GetMax().Spatial
|
alloc.RequestLayerSpatial = f.vls.GetMax().Spatial
|
||||||
|
alloc.MaxLayer = f.vls.GetMax()
|
||||||
|
|
||||||
alloc.DistanceToDesired = getDistanceToDesired(
|
alloc.DistanceToDesired = getDistanceToDesired(
|
||||||
f.muted,
|
f.muted,
|
||||||
|
|||||||
Reference in New Issue
Block a user