diff --git a/src/impl/peerconnection.cpp b/src/impl/peerconnection.cpp index 3133fe328..7dbe3e38b 100644 --- a/src/impl/peerconnection.cpp +++ b/src/impl/peerconnection.cpp @@ -858,11 +858,6 @@ void PeerConnection::validateRemoteDescription(const Description &description) { if (activeMediaCount == 0) throw std::invalid_argument("Remote description has no active media"); - if (auto local = localDescription(); local && local->iceUfrag() && local->icePwd()) - if (*description.iceUfrag() == *local->iceUfrag() && - *description.icePwd() == *local->icePwd()) - throw std::logic_error("Got the local description as remote description"); - PLOG_VERBOSE << "Remote description looks valid"; }