Reduce seeder duration to 30s and also do not force send PLI. (#3525)
Can use the normal PLI throttle cadence.
This commit is contained in:
@@ -1248,7 +1248,7 @@ func (b *Buffer) seedKeyFrame() {
|
|||||||
// send gratuitous PLIs for some time or until a key frame is seen to
|
// send gratuitous PLIs for some time or until a key frame is seen to
|
||||||
// get the engine rolling
|
// get the engine rolling
|
||||||
b.logger.Debugw("starting key frame seeder")
|
b.logger.Debugw("starting key frame seeder")
|
||||||
timer := time.NewTimer(time.Minute)
|
timer := time.NewTimer(30 * time.Second)
|
||||||
defer timer.Stop()
|
defer timer.Stop()
|
||||||
|
|
||||||
ticker := time.NewTicker(time.Second)
|
ticker := time.NewTicker(time.Second)
|
||||||
@@ -1280,7 +1280,7 @@ func (b *Buffer) seedKeyFrame() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
b.SendPLI(true)
|
b.SendPLI(false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user