Send recovery if we're very mildly congested.
This commit is contained in:
@@ -808,7 +808,7 @@ func rtcpDownListener(conn *downConnection, track *downTrack, s *webrtc.RTPSende
|
|||||||
mono.Microseconds(),
|
mono.Microseconds(),
|
||||||
)
|
)
|
||||||
bitrate := track.rate.Estimate()
|
bitrate := track.rate.Estimate()
|
||||||
if uint64(bitrate) < maxBitrate {
|
if uint64(bitrate)*7/8 < maxBitrate {
|
||||||
sendRecovery(p, track)
|
sendRecovery(p, track)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user