refine negotiation process (#807)
* refine negotiation process * not restart during ice gathering * fix test case
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user