| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 virtual void GetSendStreamDataCounters( | 319 virtual void GetSendStreamDataCounters( |
| 320 StreamDataCounters* rtp_counters, | 320 StreamDataCounters* rtp_counters, |
| 321 StreamDataCounters* rtx_counters) const = 0; | 321 StreamDataCounters* rtx_counters) const = 0; |
| 322 | 322 |
| 323 // Returns packet loss statistics for the RTP stream. | 323 // Returns packet loss statistics for the RTP stream. |
| 324 virtual void GetRtpPacketLossStats( | 324 virtual void GetRtpPacketLossStats( |
| 325 bool outgoing, | 325 bool outgoing, |
| 326 uint32_t ssrc, | 326 uint32_t ssrc, |
| 327 struct RtpPacketLossStats* loss_stats) const = 0; | 327 struct RtpPacketLossStats* loss_stats) const = 0; |
| 328 | 328 |
| 329 // Returns received RTCP sender info. | |
| 330 // Returns -1 on failure else 0. | |
| 331 virtual int32_t RemoteRTCPStat(RTCPSenderInfo* sender_info) = 0; | |
| 332 | |
| 333 // Returns received RTCP report block. | 329 // Returns received RTCP report block. |
| 334 // Returns -1 on failure else 0. | 330 // Returns -1 on failure else 0. |
| 335 virtual int32_t RemoteRTCPStat( | 331 virtual int32_t RemoteRTCPStat( |
| 336 std::vector<RTCPReportBlock>* receive_blocks) const = 0; | 332 std::vector<RTCPReportBlock>* receive_blocks) const = 0; |
| 337 | 333 |
| 338 // (APP) Sets application specific data. | 334 // (APP) Sets application specific data. |
| 339 // Returns -1 on failure else 0. | 335 // Returns -1 on failure else 0. |
| 340 virtual int32_t SetRTCPApplicationSpecificData(uint8_t sub_type, | 336 virtual int32_t SetRTCPApplicationSpecificData(uint8_t sub_type, |
| 341 uint32_t name, | 337 uint32_t name, |
| 342 const uint8_t* data, | 338 const uint8_t* data, |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 459 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; |
| 464 | 460 |
| 465 // Sends a request for a keyframe. | 461 // Sends a request for a keyframe. |
| 466 // Returns -1 on failure else 0. | 462 // Returns -1 on failure else 0. |
| 467 virtual int32_t RequestKeyFrame() = 0; | 463 virtual int32_t RequestKeyFrame() = 0; |
| 468 }; | 464 }; |
| 469 | 465 |
| 470 } // namespace webrtc | 466 } // namespace webrtc |
| 471 | 467 |
| 472 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 468 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ |
| OLD | NEW |