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

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

Issue 1726403003: [cleanup] Remove unused fields/functions from rtcp module. (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
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 28 matching lines...) Expand all
39 virtual ~RTCPReceiver(); 39 virtual ~RTCPReceiver();
40 40
41 RtcpMode Status() const; 41 RtcpMode Status() const;
42 void SetRTCPStatus(RtcpMode method); 42 void SetRTCPStatus(RtcpMode method);
43 43
44 int64_t LastReceived(); 44 int64_t LastReceived();
45 int64_t LastReceivedReceiverReport() const; 45 int64_t LastReceivedReceiverReport() const;
46 46
47 void SetSsrcs(uint32_t main_ssrc, 47 void SetSsrcs(uint32_t main_ssrc,
48 const std::set<uint32_t>& registered_ssrcs); 48 const std::set<uint32_t>& registered_ssrcs);
49 void SetRelaySSRC(uint32_t ssrc);
50 void SetRemoteSSRC(uint32_t ssrc); 49 void SetRemoteSSRC(uint32_t ssrc);
51 uint32_t RemoteSSRC() const; 50 uint32_t RemoteSSRC() const;
52 51
53 uint32_t RelaySSRC() const;
54
55 int32_t IncomingRTCPPacket( 52 int32_t IncomingRTCPPacket(
56 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation, 53 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation,
57 RTCPUtility::RTCPParserV2 *rtcpParser); 54 RTCPUtility::RTCPParserV2 *rtcpParser);
58 55
59 void TriggerCallbacksFromRTCPPacket( 56 void TriggerCallbacksFromRTCPPacket(
60 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation); 57 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation);
61 58
62 // get received cname 59 // get received cname
63 int32_t CNAME(uint32_t remoteSSRC, char cName[RTCP_CNAME_SIZE]) const; 60 int32_t CNAME(uint32_t remoteSSRC, char cName[RTCP_CNAME_SIZE]) const;
64 61
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 uint32_t _lastReceivedXRNTPfrac; 293 uint32_t _lastReceivedXRNTPfrac;
297 // Estimated rtt, zero when there is no valid estimate. 294 // Estimated rtt, zero when there is no valid estimate.
298 int64_t xr_rr_rtt_ms_; 295 int64_t xr_rr_rtt_ms_;
299 296
300 // Received report blocks. 297 // Received report blocks.
301 ReportBlockMap _receivedReportBlockMap 298 ReportBlockMap _receivedReportBlockMap
302 GUARDED_BY(_criticalSectionRTCPReceiver); 299 GUARDED_BY(_criticalSectionRTCPReceiver);
303 ReceivedInfoMap _receivedInfoMap; 300 ReceivedInfoMap _receivedInfoMap;
304 std::map<uint32_t, RTCPUtility::RTCPCnameInformation*> _receivedCnameMap; 301 std::map<uint32_t, RTCPUtility::RTCPCnameInformation*> _receivedCnameMap;
305 302
306 uint32_t _packetTimeOutMS;
307
308 // The last time we received an RTCP RR. 303 // The last time we received an RTCP RR.
309 int64_t _lastReceivedRrMs; 304 int64_t _lastReceivedRrMs;
310 305
311 // The time we last received an RTCP RR telling we have successfully 306 // The time we last received an RTCP RR telling we have successfully
312 // delivered RTP packet to the remote side. 307 // delivered RTP packet to the remote side.
313 int64_t _lastIncreasedSequenceNumberMs; 308 int64_t _lastIncreasedSequenceNumberMs;
314 309
315 RtcpStatisticsCallback* stats_callback_ GUARDED_BY(_criticalSectionFeedbacks); 310 RtcpStatisticsCallback* stats_callback_ GUARDED_BY(_criticalSectionFeedbacks);
316 311
317 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; 312 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_;
318 RtcpPacketTypeCounter packet_type_counter_; 313 RtcpPacketTypeCounter packet_type_counter_;
319 314
320 RTCPUtility::NackStats nack_stats_; 315 RTCPUtility::NackStats nack_stats_;
321 316
322 size_t num_skipped_packets_; 317 size_t num_skipped_packets_;
323 int64_t last_skipped_packets_warning_; 318 int64_t last_skipped_packets_warning_;
324 }; 319 };
325 } // namespace webrtc 320 } // namespace webrtc
326 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ 321 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698