Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: webrtc/voice_engine/channel.cc

Issue 1373903003: Unify newapi::RtcpMode and RTCPMethod. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« webrtc/common_types.h ('K') | « webrtc/video_receive_stream.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/channel.cc
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
index ee170587325b479a2e460327d7dfd11b597c70fa..0a522ecb6fffd08553d68fd8151cc718931ddb5a 100644
--- a/webrtc/voice_engine/channel.cc
+++ b/webrtc/voice_engine/channel.cc
@@ -2789,7 +2789,7 @@ void Channel::SetRTCPStatus(bool enable) {
int
Channel::GetRTCPStatus(bool& enabled)
{
- RTCPMethod method = _rtpRtcpModule->RTCP();
+ RtcpMode method = _rtpRtcpModule->RTCP();
enabled = (method != kRtcpOff);
return 0;
}
@@ -2936,7 +2936,7 @@ Channel::SendApplicationDefinedRTCPPacket(unsigned char subType,
"SendApplicationDefinedRTCPPacket() invalid length value");
return -1;
}
- RTCPMethod status = _rtpRtcpModule->RTCP();
+ RtcpMode status = _rtpRtcpModule->RTCP();
if (status == kRtcpOff)
{
_engineStatisticsPtr->SetLastError(
@@ -3911,7 +3911,7 @@ int32_t Channel::GetPlayoutFrequency() {
}
int64_t Channel::GetRTT(bool allow_associate_channel) const {
- RTCPMethod method = _rtpRtcpModule->RTCP();
+ RtcpMode method = _rtpRtcpModule->RTCP();
if (method == kRtcpOff) {
return 0;
}
« webrtc/common_types.h ('K') | « webrtc/video_receive_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698