| Index: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
|
| index 2e6545251da7f1cee4fa26c2cb1a4857229f85de..6840d81e3e1079f5bcb8be5260e77370a0ca242e 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc
|
| @@ -474,15 +474,15 @@ int32_t ModuleRtpRtcpImpl::SetMaxTransferUnit(const uint16_t mtu) {
|
| packet_overhead_);
|
| }
|
|
|
| -RTCPMethod ModuleRtpRtcpImpl::RTCP() const {
|
| - if (rtcp_sender_.Status() != kRtcpOff) {
|
| +RtcpMode ModuleRtpRtcpImpl::RTCP() const {
|
| + if (rtcp_sender_.Status() != RtcpMode::kOff) {
|
| return rtcp_receiver_.Status();
|
| }
|
| - return kRtcpOff;
|
| + return RtcpMode::kOff;
|
| }
|
|
|
| // Configure RTCP status i.e on/off.
|
| -void ModuleRtpRtcpImpl::SetRTCPStatus(const RTCPMethod method) {
|
| +void ModuleRtpRtcpImpl::SetRTCPStatus(const RtcpMode method) {
|
| rtcp_sender_.SetRTCPStatus(method);
|
| rtcp_receiver_.SetRTCPStatus(method);
|
| }
|
| @@ -861,7 +861,7 @@ void ModuleRtpRtcpImpl::SetRemoteSSRC(const uint32_t ssrc) {
|
| // Configured via API ignore.
|
| return;
|
| }
|
| - if (kRtcpOff != rtcp_sender_.Status()) {
|
| + if (RtcpMode::kOff != rtcp_sender_.Status()) {
|
| // Send RTCP bye on the current SSRC.
|
| SendRTCP(kRtcpBye);
|
| }
|
|
|