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:
Byron Campen [:bwc] 2013-11-08 16:45:39 -08:00
Родитель 1a259ae5bb
Коммит eb15cf3a79
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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) ||