зеркало из https://github.com/mozilla/gecko-dev.git
Bug 906986 - Rework fix for Bug 1241690 to avoid reliance on NrIceCtx inside NrIceMediaStream. r=bwc, r=drno
MozReview-Commit-ID: 1QCfbZUGdwM --HG-- extra : rebase_source : e47546e226839410b65013c66eab53b0212e86fe
This commit is contained in:
Родитель
04ec3df956
Коммит
ac55e03a26
|
@ -306,7 +306,7 @@ nsresult NrIceMediaStream::GetCandidatePairs(std::vector<NrIceCandidatePair>*
|
|||
}
|
||||
|
||||
// If we haven't at least started checking then there is nothing to report
|
||||
if (ctx_->connection_state() == NrIceCtx::ICE_CTX_INIT) {
|
||||
if (ctx_->peer()->state != NR_ICE_PEER_STATE_PAIRED) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -490,7 +490,7 @@ nsresult NrIceMediaStream::GetRemoteCandidates(
|
|||
}
|
||||
|
||||
// If we haven't at least started checking then there is nothing to report
|
||||
if (ctx_->connection_state() == NrIceCtx::ICE_CTX_INIT) {
|
||||
if (ctx_->peer()->state != NR_ICE_PEER_STATE_PAIRED) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче