OLD | NEW |
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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 bool was_paced; | 306 bool was_paced; |
307 }; | 307 }; |
308 | 308 |
309 class TransportFeedbackObserver { | 309 class TransportFeedbackObserver { |
310 public: | 310 public: |
311 TransportFeedbackObserver() {} | 311 TransportFeedbackObserver() {} |
312 virtual ~TransportFeedbackObserver() {} | 312 virtual ~TransportFeedbackObserver() {} |
313 | 313 |
314 // Note: Transport-wide sequence number as sequence number. Arrival time | 314 // Note: Transport-wide sequence number as sequence number. Arrival time |
315 // must be set to 0. | 315 // must be set to 0. |
316 virtual void OnPacketSent(const PacketInfo& info) = 0; | 316 virtual void OnSentPacket(const PacketInfo& info) = 0; |
317 | 317 |
318 virtual void OnTransportFeedback(const rtcp::TransportFeedback& feedback) = 0; | 318 virtual void OnTransportFeedback(const rtcp::TransportFeedback& feedback) = 0; |
319 }; | 319 }; |
320 | 320 |
321 class RtcpRttStats { | 321 class RtcpRttStats { |
322 public: | 322 public: |
323 virtual void OnRttUpdate(int64_t rtt) = 0; | 323 virtual void OnRttUpdate(int64_t rtt) = 0; |
324 | 324 |
325 virtual int64_t LastProcessedRtt() const = 0; | 325 virtual int64_t LastProcessedRtt() const = 0; |
326 | 326 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
409 class TransportSequenceNumberAllocator { | 409 class TransportSequenceNumberAllocator { |
410 public: | 410 public: |
411 TransportSequenceNumberAllocator() {} | 411 TransportSequenceNumberAllocator() {} |
412 virtual ~TransportSequenceNumberAllocator() {} | 412 virtual ~TransportSequenceNumberAllocator() {} |
413 | 413 |
414 virtual uint16_t AllocateSequenceNumber() = 0; | 414 virtual uint16_t AllocateSequenceNumber() = 0; |
415 }; | 415 }; |
416 | 416 |
417 } // namespace webrtc | 417 } // namespace webrtc |
418 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ | 418 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |