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

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

Issue 1474693002: [Splitting] TMMBRHelp class simplifted (and disappear because become too simple) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 222 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 rtcp::TmmbItem tmmbr_to_send_ GUARDED_BY(critical_section_rtcp_sender_);
247 uint32_t packet_oh_send_ GUARDED_BY(critical_section_rtcp_sender_);
248 size_t max_payload_length_; 246 size_t max_payload_length_;
249 247
250 // APP 248 // APP
251 uint8_t app_sub_type_ GUARDED_BY(critical_section_rtcp_sender_); 249 uint8_t app_sub_type_ GUARDED_BY(critical_section_rtcp_sender_);
252 uint32_t app_name_ GUARDED_BY(critical_section_rtcp_sender_); 250 uint32_t app_name_ GUARDED_BY(critical_section_rtcp_sender_);
253 std::unique_ptr<uint8_t[]> app_data_ 251 std::unique_ptr<uint8_t[]> app_data_
254 GUARDED_BY(critical_section_rtcp_sender_); 252 GUARDED_BY(critical_section_rtcp_sender_);
255 uint16_t app_length_ GUARDED_BY(critical_section_rtcp_sender_); 253 uint16_t app_length_ GUARDED_BY(critical_section_rtcp_sender_);
256 254
257 // True if sending of XR Receiver reference time report is enabled. 255 // True if sending of XR Receiver reference time report is enabled.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 288
291 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)( 289 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)(
292 const RtcpContext&); 290 const RtcpContext&);
293 std::map<RTCPPacketType, BuilderFunc> builders_; 291 std::map<RTCPPacketType, BuilderFunc> builders_;
294 292
295 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender); 293 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender);
296 }; 294 };
297 } // namespace webrtc 295 } // namespace webrtc
298 296
299 #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_unittest.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