File tree 3 files changed +0
-6
lines changed
3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ class RTC_CPP_EXPORT Description {
59
59
string typeString () const ;
60
60
Role role () const ;
61
61
string bundleMid () const ;
62
- string sessionId () const ;
63
62
std::vector<string> iceOptions () const ;
64
63
optional<string> iceUfrag () const ;
65
64
optional<string> icePwd () const ;
Original file line number Diff line number Diff line change @@ -201,8 +201,6 @@ string Description::bundleMid() const {
201
201
return " 0" ;
202
202
}
203
203
204
- string Description::sessionId () const { return mSessionId ; }
205
-
206
204
optional<string> Description::iceUfrag () const { return mIceUfrag ; }
207
205
208
206
std::vector<string> Description::iceOptions () const { return mIceOptions ; }
Original file line number Diff line number Diff line change @@ -858,9 +858,6 @@ void PeerConnection::validateRemoteDescription(const Description &description) {
858
858
if (activeMediaCount == 0 )
859
859
throw std::invalid_argument (" Remote description has no active media" );
860
860
861
- if (auto local = localDescription (); local && local->sessionId () == description.sessionId ())
862
- throw std::logic_error (" Got the local description as remote description" );
863
-
864
861
PLOG_VERBOSE << " Remote description looks valid" ;
865
862
}
866
863
You can’t perform that action at this time.
0 commit comments