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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc

Issue 1713493003: Enabling rtcp-rsize negotiation and fixing some issues with it. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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
Index: webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc
index d65b04c8ab00405aeee884a646baa075375cabdb..da8c6871ab7945fb55283048344c922ddaf8f3d8 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc
@@ -47,7 +47,6 @@ RTCPReceiver::RTCPReceiver(
: TMMBRHelp(),
_clock(clock),
receiver_only_(receiver_only),
- _method(RtcpMode::kOff),
_lastReceived(0),
_rtpRtcp(*owner),
_criticalSectionFeedbacks(
@@ -103,16 +102,6 @@ RTCPReceiver::~RTCPReceiver() {
}
}
-RtcpMode RTCPReceiver::Status() const {
- CriticalSectionScoped lock(_criticalSectionRTCPReceiver);
- return _method;
-}
-
-void RTCPReceiver::SetRTCPStatus(RtcpMode method) {
- CriticalSectionScoped lock(_criticalSectionRTCPReceiver);
- _method = method;
-}
-
int64_t RTCPReceiver::LastReceived() {
CriticalSectionScoped lock(_criticalSectionRTCPReceiver);
return _lastReceived;

Powered by Google App Engine
This is Rietveld 408576698