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:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user