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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 bool was_paced; | 312 bool was_paced; |
313 }; | 313 }; |
314 | 314 |
315 class TransportFeedbackObserver { | 315 class TransportFeedbackObserver { |
316 public: | 316 public: |
317 TransportFeedbackObserver() {} | 317 TransportFeedbackObserver() {} |
318 virtual ~TransportFeedbackObserver() {} | 318 virtual ~TransportFeedbackObserver() {} |
319 | 319 |
320 // Note: Transport-wide sequence number as sequence number. Arrival time | 320 // Note: Transport-wide sequence number as sequence number. Arrival time |
321 // must be set to 0. | 321 // must be set to 0. |
322 virtual void OnPacketSent(const PacketInfo& info) = 0; | 322 virtual void OnSentPacket(const PacketInfo& info) = 0; |
323 | 323 |
324 virtual void OnTransportFeedback(const rtcp::TransportFeedback& feedback) = 0; | 324 virtual void OnTransportFeedback(const rtcp::TransportFeedback& feedback) = 0; |
325 }; | 325 }; |
326 | 326 |
327 class RtcpRttStats { | 327 class RtcpRttStats { |
328 public: | 328 public: |
329 virtual void OnRttUpdate(int64_t rtt) = 0; | 329 virtual void OnRttUpdate(int64_t rtt) = 0; |
330 | 330 |
331 virtual int64_t LastProcessedRtt() const = 0; | 331 virtual int64_t LastProcessedRtt() const = 0; |
332 | 332 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 class TransportSequenceNumberAllocator { | 415 class TransportSequenceNumberAllocator { |
416 public: | 416 public: |
417 TransportSequenceNumberAllocator() {} | 417 TransportSequenceNumberAllocator() {} |
418 virtual ~TransportSequenceNumberAllocator() {} | 418 virtual ~TransportSequenceNumberAllocator() {} |
419 | 419 |
420 virtual uint16_t AllocateSequenceNumber() = 0; | 420 virtual uint16_t AllocateSequenceNumber() = 0; |
421 }; | 421 }; |
422 | 422 |
423 } // namespace webrtc | 423 } // namespace webrtc |
424 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ | 424 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ |
OLD | NEW |