51 mLocalCandidate =
rhs.mLocalCandidate;
52 mRemoteCandidate =
rhs.mRemoteCandidate;
53 mOfferer =
rhs.mOfferer;
54 mPriority =
rhs.mPriority;
55 mCheckState =
rhs.mCheckState;
70 mCheckState = checkState;
81 mCheckState = checkState;
93 mCheckState = checkState;
111 if(mPriority !=
rhs.mPriority)
113 return mPriority >
rhs.mPriority;
116 if(mCheckState !=
rhs.mCheckState)
118 return mCheckState <
rhs.mCheckState;
121 if(mLocalCandidate !=
rhs.mLocalCandidate)
123 return mLocalCandidate <
rhs.mLocalCandidate;
126 if(mRemoteCandidate !=
rhs.mRemoteCandidate)
128 return mRemoteCandidate <
rhs.mRemoteCandidate;
134#define sdpMin(a,b) (a < b ? a : a > b ? b : a)
135#define sdpMax(a,b) (a > b ? a : a < b ? b : a)
136void SdpCandidatePair::resetPriority()
148 strm <<
"SdpCandidatePair:" << std::endl
#define resip_assert(x)
This file needs to work for both C and C++ code.
SdpCandidatePair & operator=(const SdpCandidatePair &rhs)
static const char * SdpCandidatePairOffererTypeString[]
SdpCandidatePairCheckState
SdpCandidatePair(const SdpCandidate &localCandidate, const SdpCandidate &remoteCandidate, SdpCandidatePairOffererType offerer)
bool operator<(const SdpCandidatePair &rhs) const
bool setCheckState(const SdpCandidatePairCheckState checkState)
static const char * SdpCandidatePairCheckStateString[]
virtual ~SdpCandidatePair()
SdpCandidatePairOffererType
uint64_t getPriority() const
EncodeStream & operator<<(EncodeStream &strm, const Sdp &)
unsigned __int64 uint64_t