File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
jvb/src/main/kotlin/org/jitsi/videobridge/cc/allocation Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -200,11 +200,7 @@ class BitrateController<T : MediaSourceContainer> @JvmOverloads constructor(
200200 val nowMs = clock.instant().toEpochMilli()
201201 val allocation = bandwidthAllocator.allocation
202202 allocation.allocations.forEach { singleAllocation ->
203- val allocationTargetBitrate: Bandwidth ? = if (config.useVlaTargetBitrate) {
204- singleAllocation.targetLayer?.targetBitrate ? : singleAllocation.targetLayer?.getBitrate(nowMs)
205- } else {
206- singleAllocation.targetLayer?.getBitrate(nowMs)
207- }
203+ val allocationTargetBitrate: Bandwidth ? = singleAllocation.targetLayer?.getBitrate(nowMs)
208204
209205 allocationTargetBitrate?.let {
210206 totalTargetBitrate + = it
You can’t perform that action at this time.
0 commit comments