refine negotiation process (#807)

* refine negotiation process

* not restart during ice gathering

* fix test case
This commit is contained in:
cnderrauber
2022-07-04 17:11:09 +08:00
committed by GitHub
parent e30046f537
commit f17ed9b925
5 changed files with 213 additions and 13 deletions
+3 -1
View File
@@ -964,7 +964,9 @@ func (r *Room) connectionQualityWorker() {
continue
}
nowConnectionInfos[p.ID()] = p.GetConnectionQuality()
if q := p.GetConnectionQuality(); q != nil {
nowConnectionInfos[p.ID()] = q
}
}
// send an update if there is a change