Review comments -- added IsSctp()
Cr-Commit-Position: refs/heads/master@{#8479} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8479 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
d7b6165483
commit
871b1c373a
@ -336,6 +336,8 @@ static bool ParseDtlsSetup(const std::string& line,
|
|||||||
cricket::ConnectionRole* role,
|
cricket::ConnectionRole* role,
|
||||||
SdpParseError* error);
|
SdpParseError* error);
|
||||||
|
|
||||||
|
static bool IsSctp(const std::string& protocol);
|
||||||
|
|
||||||
// Helper functions
|
// Helper functions
|
||||||
|
|
||||||
// Below ParseFailed*** functions output the line that caused the parsing
|
// Below ParseFailed*** functions output the line that caused the parsing
|
||||||
@ -1185,6 +1187,11 @@ bool ParseExtmap(const std::string& line, RtpHeaderExtension* extmap,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool IsSctp(const std::string& protocol) {
|
||||||
|
return protocol == cricket::kMediaProtocolDtlsSctp
|
||||||
|
|| protocol == cricket::kMediaProtocolUdpDtlsSctp;
|
||||||
|
}
|
||||||
|
|
||||||
void BuildMediaDescription(const ContentInfo* content_info,
|
void BuildMediaDescription(const ContentInfo* content_info,
|
||||||
const TransportInfo* transport_info,
|
const TransportInfo* transport_info,
|
||||||
const MediaType media_type,
|
const MediaType media_type,
|
||||||
|
Loading…
Reference in New Issue
Block a user