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

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

Issue 2680183004: Remove rtcp_utility as mostly unused. (Closed)
Patch Set: NackStats -> RtcpNackStats Created 3 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 10 matching lines...) Expand all
21 #include "webrtc/api/call/transport.h" 21 #include "webrtc/api/call/transport.h"
22 #include "webrtc/base/constructormagic.h" 22 #include "webrtc/base/constructormagic.h"
23 #include "webrtc/base/criticalsection.h" 23 #include "webrtc/base/criticalsection.h"
24 #include "webrtc/base/optional.h" 24 #include "webrtc/base/optional.h"
25 #include "webrtc/base/random.h" 25 #include "webrtc/base/random.h"
26 #include "webrtc/base/thread_annotations.h" 26 #include "webrtc/base/thread_annotations.h"
27 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" 27 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h"
28 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat or.h" 28 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat or.h"
29 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" 29 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h"
30 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 30 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
31 #include "webrtc/modules/rtp_rtcp/source/rtcp_nack_stats.h"
31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h"
32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h" 33 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h"
33 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h" 34 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h"
34 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmb_item.h" 35 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmb_item.h"
35 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h"
36 #include "webrtc/typedefs.h" 36 #include "webrtc/typedefs.h"
37 37
38 namespace webrtc { 38 namespace webrtc {
39 39
40 class ModuleRtpRtcpImpl; 40 class ModuleRtpRtcpImpl;
41 class RtcEventLog; 41 class RtcEventLog;
42 42
43 class NACKStringBuilder { 43 class NACKStringBuilder {
44 public: 44 public:
45 NACKStringBuilder(); 45 NACKStringBuilder();
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 GUARDED_BY(critical_section_rtcp_sender_); 252 GUARDED_BY(critical_section_rtcp_sender_);
253 253
254 // XR VoIP metric 254 // XR VoIP metric
255 rtc::Optional<RTCPVoIPMetric> xr_voip_metric_ 255 rtc::Optional<RTCPVoIPMetric> xr_voip_metric_
256 GUARDED_BY(critical_section_rtcp_sender_); 256 GUARDED_BY(critical_section_rtcp_sender_);
257 257
258 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_; 258 RtcpPacketTypeCounterObserver* const packet_type_counter_observer_;
259 RtcpPacketTypeCounter packet_type_counter_ 259 RtcpPacketTypeCounter packet_type_counter_
260 GUARDED_BY(critical_section_rtcp_sender_); 260 GUARDED_BY(critical_section_rtcp_sender_);
261 261
262 RTCPUtility::NackStats nack_stats_ GUARDED_BY(critical_section_rtcp_sender_); 262 RtcpNackStats nack_stats_ GUARDED_BY(critical_section_rtcp_sender_);
263 263
264 rtc::Optional<BitrateAllocation> video_bitrate_allocation_ 264 rtc::Optional<BitrateAllocation> video_bitrate_allocation_
265 GUARDED_BY(critical_section_rtcp_sender_); 265 GUARDED_BY(critical_section_rtcp_sender_);
266 266
267 void SetFlag(uint32_t type, bool is_volatile) 267 void SetFlag(uint32_t type, bool is_volatile)
268 EXCLUSIVE_LOCKS_REQUIRED(critical_section_rtcp_sender_); 268 EXCLUSIVE_LOCKS_REQUIRED(critical_section_rtcp_sender_);
269 void SetFlags(const std::set<RTCPPacketType>& types, bool is_volatile) 269 void SetFlags(const std::set<RTCPPacketType>& types, bool is_volatile)
270 EXCLUSIVE_LOCKS_REQUIRED(critical_section_rtcp_sender_); 270 EXCLUSIVE_LOCKS_REQUIRED(critical_section_rtcp_sender_);
271 bool IsFlagPresent(uint32_t type) const 271 bool IsFlagPresent(uint32_t type) const
272 EXCLUSIVE_LOCKS_REQUIRED(critical_section_rtcp_sender_); 272 EXCLUSIVE_LOCKS_REQUIRED(critical_section_rtcp_sender_);
(...skipping 15 matching lines...) Expand all
288 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)( 288 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)(
289 const RtcpContext&); 289 const RtcpContext&);
290 // Map from RTCPPacketType to builder. 290 // Map from RTCPPacketType to builder.
291 std::map<uint32_t, BuilderFunc> builders_; 291 std::map<uint32_t, BuilderFunc> builders_;
292 292
293 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender); 293 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender);
294 }; 294 };
295 } // namespace webrtc 295 } // namespace webrtc
296 296
297 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_ 297 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_utility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698