mirror of
https://github.com/jech/galene.git
synced 2024-12-22 15:25:48 +01:00
Allow the loss-based congestion controller to yield higher values.
This commit is contained in:
parent
0205695bd7
commit
5ad0244267
1 changed files with 1 additions and 1 deletions
|
@ -930,7 +930,7 @@ func (track *rtpDownTrack) updateRate(loss uint8, now uint64) {
|
|||
// bottleneck
|
||||
r, _ := track.rate.Estimate()
|
||||
actual := 8 * uint64(r)
|
||||
if actual >= (rate*7)/8 {
|
||||
if actual >= (rate*3)/4 {
|
||||
// loss < 0.02, multiply by 1.05
|
||||
rate = rate * 269 / 256
|
||||
if rate > maxLossRate {
|
||||
|
|
Loading…
Reference in a new issue