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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver.h

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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 20 matching lines...) Expand all
31 public: 31 public:
32 RTCPReceiver(Clock* clock, 32 RTCPReceiver(Clock* clock,
33 bool receiver_only, 33 bool receiver_only,
34 RtcpPacketTypeCounterObserver* packet_type_counter_observer, 34 RtcpPacketTypeCounterObserver* packet_type_counter_observer,
35 RtcpBandwidthObserver* rtcp_bandwidth_observer, 35 RtcpBandwidthObserver* rtcp_bandwidth_observer,
36 RtcpIntraFrameObserver* rtcp_intra_frame_observer, 36 RtcpIntraFrameObserver* rtcp_intra_frame_observer,
37 TransportFeedbackObserver* transport_feedback_observer, 37 TransportFeedbackObserver* transport_feedback_observer,
38 ModuleRtpRtcpImpl* owner); 38 ModuleRtpRtcpImpl* owner);
39 virtual ~RTCPReceiver(); 39 virtual ~RTCPReceiver();
40 40
41 RtcpMode Status() const;
42 void SetRTCPStatus(RtcpMode method);
43
44 int64_t LastReceived(); 41 int64_t LastReceived();
45 int64_t LastReceivedReceiverReport() const; 42 int64_t LastReceivedReceiverReport() const;
46 43
47 void SetSsrcs(uint32_t main_ssrc, 44 void SetSsrcs(uint32_t main_ssrc,
48 const std::set<uint32_t>& registered_ssrcs); 45 const std::set<uint32_t>& registered_ssrcs);
49 void SetRelaySSRC(uint32_t ssrc); 46 void SetRelaySSRC(uint32_t ssrc);
50 void SetRemoteSSRC(uint32_t ssrc); 47 void SetRemoteSSRC(uint32_t ssrc);
51 uint32_t RemoteSSRC() const; 48 uint32_t RemoteSSRC() const;
52 49
53 uint32_t RelaySSRC() const; 50 uint32_t RelaySSRC() const;
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; 314 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_;
318 RtcpPacketTypeCounter packet_type_counter_; 315 RtcpPacketTypeCounter packet_type_counter_;
319 316
320 RTCPUtility::NackStats nack_stats_; 317 RTCPUtility::NackStats nack_stats_;
321 318
322 size_t num_skipped_packets_; 319 size_t num_skipped_packets_;
323 int64_t last_skipped_packets_warning_; 320 int64_t last_skipped_packets_warning_;
324 }; 321 };
325 } // namespace webrtc 322 } // namespace webrtc
326 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ 323 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698