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

Side by Side Diff: webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h

Issue 1247293002: Add support for transport wide sequence numbers (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Moved SendTimeHistory, comment Created 5 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 virtual void OnReceivedEstimatedBitrate(uint32_t bitrate) = 0; 286 virtual void OnReceivedEstimatedBitrate(uint32_t bitrate) = 0;
287 287
288 virtual void OnReceivedRtcpReceiverReport( 288 virtual void OnReceivedRtcpReceiverReport(
289 const ReportBlockList& report_blocks, 289 const ReportBlockList& report_blocks,
290 int64_t rtt, 290 int64_t rtt,
291 int64_t now_ms) = 0; 291 int64_t now_ms) = 0;
292 292
293 virtual ~RtcpBandwidthObserver() {} 293 virtual ~RtcpBandwidthObserver() {}
294 }; 294 };
295 295
296 class SendTimeObserver {
297 public:
298 SendTimeObserver() {}
299 virtual ~SendTimeObserver() {}
300
301 // Transport-wide sequence number and timestamp (system time in milliseconds),
302 // of when the packet was put on the wire.
303 virtual void OnPacketSent(uint16_t sequence_number, int64_t send_time) = 0;
stefan-webrtc 2015/07/29 09:04:11 Maybe transport_sequence_number?
sprang_webrtc 2015/07/29 10:03:25 Done.
304 };
305
296 class RtcpRttStats { 306 class RtcpRttStats {
297 public: 307 public:
298 virtual void OnRttUpdate(int64_t rtt) = 0; 308 virtual void OnRttUpdate(int64_t rtt) = 0;
299 309
300 virtual int64_t LastProcessedRtt() const = 0; 310 virtual int64_t LastProcessedRtt() const = 0;
301 311
302 virtual ~RtcpRttStats() {}; 312 virtual ~RtcpRttStats() {};
303 }; 313 };
304 314
305 // Null object version of RtpFeedback. 315 // Null object version of RtpFeedback.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 uint64_t single_packet_loss_count; 368 uint64_t single_packet_loss_count;
359 // The number of events in which more than one adjacent packet was lost. 369 // The number of events in which more than one adjacent packet was lost.
360 uint64_t multiple_packet_loss_event_count; 370 uint64_t multiple_packet_loss_event_count;
361 // The number of packets lost in events where more than one adjacent packet 371 // The number of packets lost in events where more than one adjacent packet
362 // was lost. 372 // was lost.
363 uint64_t multiple_packet_loss_packet_count; 373 uint64_t multiple_packet_loss_packet_count;
364 }; 374 };
365 375
366 } // namespace webrtc 376 } // namespace webrtc
367 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ 377 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698