ICE restart - dynacast settings were lost (#620)

* Prevent stats update if the deltas are empty

* increase force interval

* static check

* Change max delay to 30 seconds

* Restart the max subscribed quality timer on ICE restart.

Force an update after a restart to let clients apply dynacast settings.
Also, set the max expected layer to HIGH on restart so that stream
tracker starts up fast on a restart.

* fix test
This commit is contained in:
Raja Subramanian
2022-04-18 22:58:11 +05:30
committed by GitHub
parent a19ca69f5f
commit 50bd08e551
8 changed files with 90 additions and 4 deletions
+1
View File
@@ -189,6 +189,7 @@ func TestSubscribedMaxQuality(t *testing.T) {
return nil
})
mt.maxSubscribedQuality = livekit.VideoQuality_LOW
mt.notifySubscriberMaxQuality("s1", livekit.VideoQuality_HIGH)
mt.notifySubscriberMaxQuality("s2", livekit.VideoQuality_MEDIUM)