forked from mirrors/gecko-dev
Bug 1326005: Always update the Jsep ICE transport's candidate list when negotiation completes. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D82036
This commit is contained in:
parent
40f9bf512c
commit
88844c36fc
1 changed files with 4 additions and 4 deletions
|
|
@ -1098,13 +1098,13 @@ nsresult JsepSessionImpl::FinalizeTransport(const SdpAttributeList& remote,
|
|||
// We do sanity-checking for these in ParseSdp
|
||||
ice->mUfrag = remote.GetIceUfrag();
|
||||
ice->mPwd = remote.GetIcePwd();
|
||||
if (remote.HasAttribute(SdpAttribute::kCandidateAttribute)) {
|
||||
ice->mCandidates = remote.GetCandidate();
|
||||
}
|
||||
|
||||
transport->mIce = std::move(ice);
|
||||
}
|
||||
|
||||
if (remote.HasAttribute(SdpAttribute::kCandidateAttribute)) {
|
||||
transport->mIce->mCandidates = remote.GetCandidate();
|
||||
}
|
||||
|
||||
if (!transport->mDtls) {
|
||||
// RFC 5763 says:
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in a new issue