1
Fork 0

Send recovery if we're very mildly congested.

This commit is contained in:
Juliusz Chroboczek 2020-05-21 13:20:51 +02:00
parent 0e1f3cafea
commit 9fde029912
1 changed files with 1 additions and 1 deletions

View File

@ -808,7 +808,7 @@ func rtcpDownListener(conn *downConnection, track *downTrack, s *webrtc.RTPSende
mono.Microseconds(),
)
bitrate := track.rate.Estimate()
if uint64(bitrate) < maxBitrate {
if uint64(bitrate)*7/8 < maxBitrate {
sendRecovery(p, track)
}
}