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

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

Issue 2644303002: Delete class SSRCDatabase, and its global ssrc registry. (Closed)
Patch Set: Rebased. 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, RttForReceiverOnly); 325 FRIEND_TEST_ALL_PREFIXES(RtpRtcpImplTest, RttForReceiverOnly);
326 int64_t RtcpReportInterval(); 326 int64_t RtcpReportInterval();
327 void SetRtcpReceiverSsrcs(uint32_t main_ssrc); 327 void SetRtcpReceiverSsrcs(uint32_t main_ssrc);
328 328
329 void set_rtt_ms(int64_t rtt_ms); 329 void set_rtt_ms(int64_t rtt_ms);
330 int64_t rtt_ms() const; 330 int64_t rtt_ms() const;
331 331
332 bool TimeToSendFullNackList(int64_t now) const; 332 bool TimeToSendFullNackList(int64_t now) const;
333 333
334 const bool audio_; 334 const bool audio_;
335 bool collision_detected_;
336 int64_t last_process_time_; 335 int64_t last_process_time_;
337 int64_t last_bitrate_process_time_; 336 int64_t last_bitrate_process_time_;
338 int64_t last_rtt_process_time_; 337 int64_t last_rtt_process_time_;
339 uint16_t packet_overhead_; 338 uint16_t packet_overhead_;
340 339
341 // Send side 340 // Send side
342 int64_t nack_last_time_sent_full_; 341 int64_t nack_last_time_sent_full_;
343 uint32_t nack_last_time_sent_full_prev_; 342 uint32_t nack_last_time_sent_full_prev_;
344 uint16_t nack_last_seq_number_sent_; 343 uint16_t nack_last_seq_number_sent_;
345 344
346 KeyFrameRequestMethod key_frame_req_method_; 345 KeyFrameRequestMethod key_frame_req_method_;
347 346
348 RemoteBitrateEstimator* remote_bitrate_; 347 RemoteBitrateEstimator* remote_bitrate_;
349 348
350 RtcpRttStats* rtt_stats_; 349 RtcpRttStats* rtt_stats_;
351 350
352 PacketLossStats send_loss_stats_; 351 PacketLossStats send_loss_stats_;
353 PacketLossStats receive_loss_stats_; 352 PacketLossStats receive_loss_stats_;
354 353
355 // The processed RTT from RtcpRttStats. 354 // The processed RTT from RtcpRttStats.
356 rtc::CriticalSection critical_section_rtt_; 355 rtc::CriticalSection critical_section_rtt_;
357 int64_t rtt_ms_; 356 int64_t rtt_ms_;
358 }; 357 };
359 358
360 } // namespace webrtc 359 } // namespace webrtc
361 360
362 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 361 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698