зеркало из https://github.com/mozilla/gecko-dev.git
Bug 906990 - Part 11: Fix bug where the |selected| field on a candidate pair statistic was never set. r=ekr
This commit is contained in:
Родитель
1a259ae5bb
Коммит
eb15cf3a79
|
@ -323,8 +323,8 @@ nsresult NrIceMediaStream::GetCandidatePairs(std::vector<NrIceCandidatePair>*
|
|||
|
||||
pair.priority = p1->priority;
|
||||
pair.nominated = p1->peer_nominated || p1->nominated;
|
||||
pair.selected = p1->local->component &&
|
||||
p1->local->component->active == p1;
|
||||
pair.selected = p1->remote->component &&
|
||||
p1->remote->component->active == p1;
|
||||
pair.codeword = p1->codeword;
|
||||
|
||||
if (!ToNrIceCandidate(*(p1->local), &pair.local) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче