mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Send recovery if we're very mildly congested.
This commit is contained in:
parent
0e1f3cafea
commit
9fde029912
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue