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
+6
View File
@@ -46,6 +46,12 @@ func NewUpTrackManager(params UpTrackManagerParams) *UpTrackManager {
func (u *UpTrackManager) Start() {
}
func (u *UpTrackManager) Restart() {
for _, t := range u.GetPublishedTracks() {
t.Restart()
}
}
func (u *UpTrackManager) Close() {
u.lock.Lock()
u.closed = true