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

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

Issue 1959013003: TMMBRHelp moved from member object/base class to stack object, (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: includes adjusted Created 4 years, 7 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/base/constructormagic.h" 21 #include "webrtc/base/constructormagic.h"
22 #include "webrtc/base/criticalsection.h" 22 #include "webrtc/base/criticalsection.h"
23 #include "webrtc/base/random.h" 23 #include "webrtc/base/random.h"
24 #include "webrtc/base/thread_annotations.h" 24 #include "webrtc/base/thread_annotations.h"
25 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" 25 #include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h"
26 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat or.h" 26 #include "webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimat or.h"
27 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" 27 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h"
28 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 28 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" 29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h"
30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h" 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/report_block.h"
31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmb_item.h"
31 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h" 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h"
32 #include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h"
33 #include "webrtc/transport.h" 33 #include "webrtc/transport.h"
34 #include "webrtc/typedefs.h" 34 #include "webrtc/typedefs.h"
35 35
36 namespace webrtc { 36 namespace webrtc {
37 37
38 class ModuleRtpRtcpImpl; 38 class ModuleRtpRtcpImpl;
39 class RTCPReceiver; 39 class RTCPReceiver;
40 class RtcEventLog; 40 class RtcEventLog;
41 41
42 class NACKStringBuilder { 42 class NACKStringBuilder {
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 // send CSRCs 233 // send CSRCs
234 std::vector<uint32_t> csrcs_ GUARDED_BY(critical_section_rtcp_sender_); 234 std::vector<uint32_t> csrcs_ GUARDED_BY(critical_section_rtcp_sender_);
235 235
236 // Full intra request 236 // Full intra request
237 uint8_t sequence_number_fir_ GUARDED_BY(critical_section_rtcp_sender_); 237 uint8_t sequence_number_fir_ GUARDED_BY(critical_section_rtcp_sender_);
238 238
239 // REMB 239 // REMB
240 uint32_t remb_bitrate_ GUARDED_BY(critical_section_rtcp_sender_); 240 uint32_t remb_bitrate_ GUARDED_BY(critical_section_rtcp_sender_);
241 std::vector<uint32_t> remb_ssrcs_ GUARDED_BY(critical_section_rtcp_sender_); 241 std::vector<uint32_t> remb_ssrcs_ GUARDED_BY(critical_section_rtcp_sender_);
242 242
243 TMMBRHelp tmmbr_help_ GUARDED_BY(critical_section_rtcp_sender_);
244 std::vector<rtcp::TmmbItem> tmmbn_to_send_ 243 std::vector<rtcp::TmmbItem> tmmbn_to_send_
245 GUARDED_BY(critical_section_rtcp_sender_); 244 GUARDED_BY(critical_section_rtcp_sender_);
246 uint32_t tmmbr_send_ GUARDED_BY(critical_section_rtcp_sender_); 245 uint32_t tmmbr_send_ GUARDED_BY(critical_section_rtcp_sender_);
247 uint32_t packet_oh_send_ GUARDED_BY(critical_section_rtcp_sender_); 246 uint32_t packet_oh_send_ GUARDED_BY(critical_section_rtcp_sender_);
248 size_t max_payload_length_; 247 size_t max_payload_length_;
249 248
250 // APP 249 // APP
251 uint8_t app_sub_type_ GUARDED_BY(critical_section_rtcp_sender_); 250 uint8_t app_sub_type_ GUARDED_BY(critical_section_rtcp_sender_);
252 uint32_t app_name_ GUARDED_BY(critical_section_rtcp_sender_); 251 uint32_t app_name_ GUARDED_BY(critical_section_rtcp_sender_);
253 std::unique_ptr<uint8_t[]> app_data_ 252 std::unique_ptr<uint8_t[]> app_data_
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 289
291 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)( 290 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)(
292 const RtcpContext&); 291 const RtcpContext&);
293 std::map<RTCPPacketType, BuilderFunc> builders_; 292 std::map<RTCPPacketType, BuilderFunc> builders_;
294 293
295 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender); 294 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender);
296 }; 295 };
297 } // namespace webrtc 296 } // namespace webrtc
298 297
299 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_ 298 #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_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698