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
+3
View File
@@ -666,6 +666,9 @@ func (p *ParticipantImpl) ICERestart() error {
// not connected, skip
return nil
}
p.UpTrackManager.Restart()
return p.subscriber.CreateAndSendOffer(&webrtc.OfferOptions{
ICERestart: true,
})