Switching to layer based quality for camera tracks also. (#1520)
There are cases where the layer bit rate configuration is such that the expected bitrate difference is very high. For example, setting up layer 2 (f) layer for 1.7 Mbps and layer 1 (h) for 180 kbps. With bitrate based quality, a layer drop results in going to `POOR` quality rating. With layer based, it will drop one level only. Also, cleaning up the distance to desired calculation a bit.
This commit is contained in:
@@ -19,7 +19,7 @@ const (
|
||||
increaseFactor = float64(0.4) // slow increase
|
||||
decreaseFactor = float64(0.8) // fast decrease
|
||||
|
||||
distanceWeight = float64(20.0) // each spatial layer missed drops a quality level
|
||||
distanceWeight = float64(25.0) // each spatial layer missed drops a quality level
|
||||
|
||||
unmuteTimeThreshold = float64(0.5)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user