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

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

Issue 2340763002: Split RtcpReceiver::HandleSenderReceiverReport into two functions (Closed)
Patch Set: Comments fixes Created 4 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 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 RTCPUtility::RTCPCnameInformation* CreateCnameInformation( 126 RTCPUtility::RTCPCnameInformation* CreateCnameInformation(
127 uint32_t remoteSSRC); 127 uint32_t remoteSSRC);
128 RTCPUtility::RTCPCnameInformation* GetCnameInformation( 128 RTCPUtility::RTCPCnameInformation* GetCnameInformation(
129 uint32_t remoteSSRC) const; 129 uint32_t remoteSSRC) const;
130 130
131 RTCPHelp::RTCPReceiveInformation* CreateReceiveInformation( 131 RTCPHelp::RTCPReceiveInformation* CreateReceiveInformation(
132 uint32_t remoteSSRC); 132 uint32_t remoteSSRC);
133 RTCPHelp::RTCPReceiveInformation* GetReceiveInformation(uint32_t remoteSSRC); 133 RTCPHelp::RTCPReceiveInformation* GetReceiveInformation(uint32_t remoteSSRC);
134 134
135 void HandleSenderReceiverReport( 135 void HandleSenderReport(
136 RTCPUtility::RTCPParserV2& rtcpParser, 136 RTCPUtility::RTCPParserV2& rtcpParser,
137 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 137 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
138 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 138 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
139
140 void HandleReceiverReport(
141 RTCPUtility::RTCPParserV2& rtcpParser,
142 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
143 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
139 144
140 void HandleReportBlock(const RTCPUtility::RTCPPacket& rtcpPacket, 145 void HandleReportBlock(const RTCPUtility::RTCPPacket& rtcpPacket,
141 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation, 146 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation,
142 uint32_t remoteSSRC) 147 uint32_t remoteSSRC)
143 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 148 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
144 149
145 void HandleSDES(RTCPUtility::RTCPParserV2& rtcpParser, 150 void HandleSDES(RTCPUtility::RTCPParserV2& rtcpParser,
146 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 151 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
147 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 152 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
148 153
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; 301 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_;
297 RtcpPacketTypeCounter packet_type_counter_; 302 RtcpPacketTypeCounter packet_type_counter_;
298 303
299 RTCPUtility::NackStats nack_stats_; 304 RTCPUtility::NackStats nack_stats_;
300 305
301 size_t num_skipped_packets_; 306 size_t num_skipped_packets_;
302 int64_t last_skipped_packets_warning_; 307 int64_t last_skipped_packets_warning_;
303 }; 308 };
304 } // namespace webrtc 309 } // namespace webrtc
305 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ 310 #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