Add support for data channels with Unified Plan

Bug: webrtc:7600
Change-Id: Idca1219fa692b24ced104aff7e89cde8a1bfe301
Reviewed-on: https://webrtc-review.googlesource.com/36240
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21478}
This commit is contained in:
Steve Anton
2017-12-28 16:38:23 -08:00
committed by Commit Bot
parent 5a25ab298d
commit fa2260d08d
7 changed files with 318 additions and 67 deletions

View File

@ -579,7 +579,7 @@ static void PruneCryptos(const CryptoParamsVec& filter,
target_cryptos->end());
}
static bool IsRtpProtocol(const std::string& protocol) {
bool IsRtpProtocol(const std::string& protocol) {
return protocol.empty() ||
(protocol.find(cricket::kMediaProtocolRtpPrefix) != std::string::npos);
}