зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1629565: Fix bug where rollback of local offer would stomp the pre-existing transport with a new one with the same ufrag/pwd. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72240
This commit is contained in:
Родитель
d3aad2af3d
Коммит
638490970c
|
@ -253,6 +253,10 @@ nsresult NrIceMediaStream::SetIceCredentials(const std::string& ufrag,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
if (Matches(old_stream_, ufrag, pwd)) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
MOZ_MTLOG(ML_DEBUG, "Setting ICE credentials for " << name_ << " - " << ufrag
|
||||
<< ":" << pwd);
|
||||
CloseStream(&old_stream_);
|
||||
|
|
Загрузка…
Ссылка в новой задаче