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

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

Issue 2988763002: Take smaller interface for RtpRtcp::Configuration::receive_statistics (Closed)
Patch Set: rerenaming Created 3 years, 4 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 bool has_last_xr_rr; 71 bool has_last_xr_rr;
72 rtcp::ReceiveTimeInfo last_xr_rr; 72 rtcp::ReceiveTimeInfo last_xr_rr;
73 73
74 // Used when generating TMMBR. 74 // Used when generating TMMBR.
75 ModuleRtpRtcpImpl* module; 75 ModuleRtpRtcpImpl* module;
76 }; 76 };
77 77
78 RTCPSender(bool audio, 78 RTCPSender(bool audio,
79 Clock* clock, 79 Clock* clock,
80 ReceiveStatistics* receive_statistics, 80 ReceiveStatisticsProvider* receive_statistics,
81 RtcpPacketTypeCounterObserver* packet_type_counter_observer, 81 RtcpPacketTypeCounterObserver* packet_type_counter_observer,
82 RtcEventLog* event_log, 82 RtcEventLog* event_log,
83 Transport* outgoing_transport); 83 Transport* outgoing_transport);
84 virtual ~RTCPSender(); 84 virtual ~RTCPSender();
85 85
86 RtcpMode Status() const; 86 RtcpMode Status() const;
87 void SetRTCPStatus(RtcpMode method); 87 void SetRTCPStatus(RtcpMode method);
88 88
89 bool Sending() const; 89 bool Sending() const;
90 int32_t SetSendingStatus(const FeedbackState& feedback_state, 90 int32_t SetSendingStatus(const FeedbackState& feedback_state,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 int64_t next_time_to_send_rtcp_ GUARDED_BY(critical_section_rtcp_sender_); 204 int64_t next_time_to_send_rtcp_ GUARDED_BY(critical_section_rtcp_sender_);
205 205
206 uint32_t timestamp_offset_ GUARDED_BY(critical_section_rtcp_sender_); 206 uint32_t timestamp_offset_ GUARDED_BY(critical_section_rtcp_sender_);
207 uint32_t last_rtp_timestamp_ GUARDED_BY(critical_section_rtcp_sender_); 207 uint32_t last_rtp_timestamp_ GUARDED_BY(critical_section_rtcp_sender_);
208 int64_t last_frame_capture_time_ms_ GUARDED_BY(critical_section_rtcp_sender_); 208 int64_t last_frame_capture_time_ms_ GUARDED_BY(critical_section_rtcp_sender_);
209 uint32_t ssrc_ GUARDED_BY(critical_section_rtcp_sender_); 209 uint32_t ssrc_ GUARDED_BY(critical_section_rtcp_sender_);
210 // SSRC that we receive on our RTP channel 210 // SSRC that we receive on our RTP channel
211 uint32_t remote_ssrc_ GUARDED_BY(critical_section_rtcp_sender_); 211 uint32_t remote_ssrc_ GUARDED_BY(critical_section_rtcp_sender_);
212 std::string cname_ GUARDED_BY(critical_section_rtcp_sender_); 212 std::string cname_ GUARDED_BY(critical_section_rtcp_sender_);
213 213
214 ReceiveStatistics* receive_statistics_ 214 ReceiveStatisticsProvider* receive_statistics_
215 GUARDED_BY(critical_section_rtcp_sender_); 215 GUARDED_BY(critical_section_rtcp_sender_);
216 std::map<uint32_t, std::string> csrc_cnames_ 216 std::map<uint32_t, std::string> csrc_cnames_
217 GUARDED_BY(critical_section_rtcp_sender_); 217 GUARDED_BY(critical_section_rtcp_sender_);
218 218
219 // send CSRCs 219 // send CSRCs
220 std::vector<uint32_t> csrcs_ GUARDED_BY(critical_section_rtcp_sender_); 220 std::vector<uint32_t> csrcs_ GUARDED_BY(critical_section_rtcp_sender_);
221 221
222 // Full intra request 222 // Full intra request
223 uint8_t sequence_number_fir_ GUARDED_BY(critical_section_rtcp_sender_); 223 uint8_t sequence_number_fir_ GUARDED_BY(critical_section_rtcp_sender_);
224 224
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)( 280 typedef std::unique_ptr<rtcp::RtcpPacket> (RTCPSender::*BuilderFunc)(
281 const RtcpContext&); 281 const RtcpContext&);
282 // Map from RTCPPacketType to builder. 282 // Map from RTCPPacketType to builder.
283 std::map<uint32_t, BuilderFunc> builders_; 283 std::map<uint32_t, BuilderFunc> builders_;
284 284
285 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender); 285 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTCPSender);
286 }; 286 };
287 } // namespace webrtc 287 } // namespace webrtc
288 288
289 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_ 289 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_SENDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698