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

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

Issue 2320703003: Remove handling unused rtcp packets. (Closed)
Patch Set: 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 void HandleXrDlrrReportBlock( 154 void HandleXrDlrrReportBlock(
155 RTCPUtility::RTCPParserV2& parser, 155 RTCPUtility::RTCPParserV2& parser,
156 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 156 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
157 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 157 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
158 158
159 void HandleXrDlrrReportBlockItem( 159 void HandleXrDlrrReportBlockItem(
160 const RTCPUtility::RTCPPacket& packet, 160 const RTCPUtility::RTCPPacket& packet,
161 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 161 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
162 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 162 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
163 163
164 void HandleXRVOIPMetric(
165 RTCPUtility::RTCPParserV2& rtcpParser,
166 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
167 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
168
169 void HandleNACK(RTCPUtility::RTCPParserV2& rtcpParser, 164 void HandleNACK(RTCPUtility::RTCPParserV2& rtcpParser,
170 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 165 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
171 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 166 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
172 167
173 void HandleNACKItem(const RTCPUtility::RTCPPacket& rtcpPacket, 168 void HandleNACKItem(const RTCPUtility::RTCPPacket& rtcpPacket,
174 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 169 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
175 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 170 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
176 171
177 void HandleBYE(RTCPUtility::RTCPParserV2& rtcpParser) 172 void HandleBYE(RTCPUtility::RTCPParserV2& rtcpParser)
178 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 173 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
(...skipping 15 matching lines...) Expand all
194 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 189 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
195 190
196 void HandlePsfbApp(RTCPUtility::RTCPParserV2& rtcpParser, 191 void HandlePsfbApp(RTCPUtility::RTCPParserV2& rtcpParser,
197 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 192 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
198 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 193 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
199 194
200 void HandleREMBItem(RTCPUtility::RTCPParserV2& rtcpParser, 195 void HandleREMBItem(RTCPUtility::RTCPParserV2& rtcpParser,
201 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 196 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
202 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 197 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
203 198
204 void HandleIJ(RTCPUtility::RTCPParserV2& rtcpParser,
205 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
206 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
207
208 void HandleIJItem(const RTCPUtility::RTCPPacket& rtcpPacket,
209 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
210 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
211
212 void HandleTMMBR(RTCPUtility::RTCPParserV2& rtcpParser, 199 void HandleTMMBR(RTCPUtility::RTCPParserV2& rtcpParser,
213 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 200 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
214 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 201 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
215 202
216 void HandleTMMBRItem(RTCPHelp::RTCPReceiveInformation& receiveInfo, 203 void HandleTMMBRItem(RTCPHelp::RTCPReceiveInformation& receiveInfo,
217 const RTCPUtility::RTCPPacket& rtcpPacket, 204 const RTCPUtility::RTCPPacket& rtcpPacket,
218 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation, 205 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation,
219 uint32_t senderSSRC) 206 uint32_t senderSSRC)
220 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 207 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
221 208
(...skipping 11 matching lines...) Expand all
233 220
234 void HandleFIR(RTCPUtility::RTCPParserV2& rtcpParser, 221 void HandleFIR(RTCPUtility::RTCPParserV2& rtcpParser,
235 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 222 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
236 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 223 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
237 224
238 void HandleFIRItem(RTCPHelp::RTCPReceiveInformation* receiveInfo, 225 void HandleFIRItem(RTCPHelp::RTCPReceiveInformation* receiveInfo,
239 const RTCPUtility::RTCPPacket& rtcpPacket, 226 const RTCPUtility::RTCPPacket& rtcpPacket,
240 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation) 227 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
241 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 228 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
242 229
243 void HandleAPP(RTCPUtility::RTCPParserV2& rtcpParser,
244 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
245 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
246
247 void HandleAPPItem(RTCPUtility::RTCPParserV2& rtcpParser,
248 RTCPHelp::RTCPPacketInformation& rtcpPacketInformation)
249 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
250
251 void HandleTransportFeedback( 230 void HandleTransportFeedback(
252 RTCPUtility::RTCPParserV2* rtcp_parser, 231 RTCPUtility::RTCPParserV2* rtcp_parser,
253 RTCPHelp::RTCPPacketInformation* rtcp_packet_information) 232 RTCPHelp::RTCPPacketInformation* rtcp_packet_information)
254 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver); 233 EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
255 234
256 private: 235 private:
257 typedef std::map<uint32_t, RTCPHelp::RTCPReceiveInformation*> ReceivedInfoMap; 236 typedef std::map<uint32_t, RTCPHelp::RTCPReceiveInformation*> ReceivedInfoMap;
258 // RTCP report block information mapped by remote SSRC. 237 // RTCP report block information mapped by remote SSRC.
259 typedef std::map<uint32_t, RTCPHelp::RTCPReportBlockInformation*> 238 typedef std::map<uint32_t, RTCPHelp::RTCPReportBlockInformation*>
260 ReportBlockInfoMap; 239 ReportBlockInfoMap;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; 297 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_;
319 RtcpPacketTypeCounter packet_type_counter_; 298 RtcpPacketTypeCounter packet_type_counter_;
320 299
321 RTCPUtility::NackStats nack_stats_; 300 RTCPUtility::NackStats nack_stats_;
322 301
323 size_t num_skipped_packets_; 302 size_t num_skipped_packets_;
324 int64_t last_skipped_packets_warning_; 303 int64_t last_skipped_packets_warning_;
325 }; 304 };
326 } // namespace webrtc 305 } // namespace webrtc
327 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_H_ 306 #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