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:
Raja Subramanian
2025-09-24 14:45:57 +05:30
committed by GitHub
parent 3837006b39
commit bfba6feed4
3 changed files with 36 additions and 27 deletions
+2 -2
View File
@@ -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
}
}