Adjust stream allocator ping interval based on state. (#3951)
* Adjust stream allocator ping interval based on state. In steady state, does a 15 second ping. While deficient, to be able to react to probes faster, it pings at 100ms interval. * clean up * log ops queue not able to wake up
This commit is contained in:
@@ -87,9 +87,9 @@ func (t *Track) SetPriority(priority uint8) bool {
|
||||
if priority == 0 {
|
||||
switch t.source {
|
||||
case livekit.TrackSource_SCREEN_SHARE:
|
||||
priority = PriorityDefaultScreenshare
|
||||
priority = cPriorityDefaultScreenshare
|
||||
default:
|
||||
priority = PriorityDefaultVideo
|
||||
priority = cPriorityDefaultVideo
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user