We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1787735 + 430b4ab commit d9befcfCopy full SHA for d9befcf
src/impl/peerconnection.cpp
@@ -879,11 +879,6 @@ void PeerConnection::validateRemoteDescription(const Description &description) {
879
if (activeMediaCount == 0)
880
throw std::invalid_argument("Remote description has no active media");
881
882
- if (auto local = localDescription(); local && local->iceUfrag() && local->icePwd())
883
- if (*description.iceUfrag() == *local->iceUfrag() &&
884
- *description.icePwd() == *local->icePwd())
885
- throw std::logic_error("Got the local description as remote description");
886
-
887
PLOG_VERBOSE << "Remote description looks valid";
888
}
889
0 commit comments