Merging definitions of IsSctp.
Cr-Commit-Position: refs/heads/master@{#8482} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8482 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
12aa8a68f9
commit
9616196c38
@ -1827,7 +1827,8 @@ bool IsRtp(const std::string& protocol) {
|
||||
|
||||
bool IsDtlsSctp(const std::string& protocol) {
|
||||
// This intentionally excludes "SCTP" and "SCTP/DTLS".
|
||||
return protocol.find(cricket::kMediaProtocolDtlsSctp) != std::string::npos;
|
||||
return protocol.find(cricket::kMediaProtocolDtlsSctp) != std::string::npos
|
||||
|| protocol.find(cricket::kMediaProtocolUdpDtlsSctp) != std::string::npos;
|
||||
}
|
||||
|
||||
bool ParseSessionDescription(const std::string& message, size_t* pos,
|
||||
|
Loading…
Reference in New Issue
Block a user