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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 uint32_t* packetsSent) const = 0; | 432 uint32_t* packetsSent) const = 0; |
433 | 433 |
434 /* | 434 /* |
435 * Get send statistics for the RTP and RTX stream. | 435 * Get send statistics for the RTP and RTX stream. |
436 */ | 436 */ |
437 virtual void GetSendStreamDataCounters( | 437 virtual void GetSendStreamDataCounters( |
438 StreamDataCounters* rtp_counters, | 438 StreamDataCounters* rtp_counters, |
439 StreamDataCounters* rtx_counters) const = 0; | 439 StreamDataCounters* rtx_counters) const = 0; |
440 | 440 |
441 /* | 441 /* |
| 442 * Get packet loss statistics for the RTP stream. |
| 443 */ |
| 444 virtual void GetRtpPacketLossStats( |
| 445 bool outgoing, |
| 446 uint32_t ssrc, |
| 447 struct RtpPacketLossStats* loss_stats) const = 0; |
| 448 |
| 449 /* |
442 * Get received RTCP sender info | 450 * Get received RTCP sender info |
443 * | 451 * |
444 * return -1 on failure else 0 | 452 * return -1 on failure else 0 |
445 */ | 453 */ |
446 virtual int32_t RemoteRTCPStat(RTCPSenderInfo* senderInfo) = 0; | 454 virtual int32_t RemoteRTCPStat(RTCPSenderInfo* senderInfo) = 0; |
447 | 455 |
448 /* | 456 /* |
449 * Get received RTCP report block | 457 * Get received RTCP report block |
450 * | 458 * |
451 * return -1 on failure else 0 | 459 * return -1 on failure else 0 |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 | 646 |
639 /* | 647 /* |
640 * send a request for a keyframe | 648 * send a request for a keyframe |
641 * | 649 * |
642 * return -1 on failure else 0 | 650 * return -1 on failure else 0 |
643 */ | 651 */ |
644 virtual int32_t RequestKeyFrame() = 0; | 652 virtual int32_t RequestKeyFrame() = 0; |
645 }; | 653 }; |
646 } // namespace webrtc | 654 } // namespace webrtc |
647 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ | 655 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ |
OLD | NEW |