Commit 4d2bd6e4 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix initialisation of maxLossBitrate.

parent dcb21111
......@@ -836,7 +836,7 @@ const (
func (track *rtpDownTrack) updateRate(loss uint8, now uint64) {
rate := track.maxLossBitrate.Get(now)
if rate > maxLossRate {
if rate < minLossRate || rate > maxLossRate {
// no recent feedback, reset
rate = initLossRate
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment