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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 virtual int32_t SendRTCPReferencePictureSelection( | 408 virtual int32_t SendRTCPReferencePictureSelection( |
409 const uint64_t pictureID) = 0; | 409 const uint64_t pictureID) = 0; |
410 | 410 |
411 /* | 411 /* |
412 * Send a RTCP Slice Loss Indication (SLI) | 412 * Send a RTCP Slice Loss Indication (SLI) |
413 * 6 least significant bits of pictureID | 413 * 6 least significant bits of pictureID |
414 */ | 414 */ |
415 virtual int32_t SendRTCPSliceLossIndication(uint8_t pictureID) = 0; | 415 virtual int32_t SendRTCPSliceLossIndication(uint8_t pictureID) = 0; |
416 | 416 |
417 /* | 417 /* |
418 * Reset RTP data counters for the sending side | |
419 * | |
420 * return -1 on failure else 0 | |
421 */ | |
422 virtual int32_t ResetSendDataCountersRTP() = 0; | |
423 | |
424 /* | |
425 * Statistics of the amount of data sent | 418 * Statistics of the amount of data sent |
426 * | 419 * |
427 * return -1 on failure else 0 | 420 * return -1 on failure else 0 |
428 */ | 421 */ |
429 virtual int32_t DataCountersRTP( | 422 virtual int32_t DataCountersRTP( |
430 size_t* bytesSent, | 423 size_t* bytesSent, |
431 uint32_t* packetsSent) const = 0; | 424 uint32_t* packetsSent) const = 0; |
432 | 425 |
433 /* | 426 /* |
434 * Get send statistics for the RTP and RTX stream. | 427 * Get send statistics for the RTP and RTX stream. |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 | 630 |
638 /* | 631 /* |
639 * send a request for a keyframe | 632 * send a request for a keyframe |
640 * | 633 * |
641 * return -1 on failure else 0 | 634 * return -1 on failure else 0 |
642 */ | 635 */ |
643 virtual int32_t RequestKeyFrame() = 0; | 636 virtual int32_t RequestKeyFrame() = 0; |
644 }; | 637 }; |
645 } // namespace webrtc | 638 } // namespace webrtc |
646 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ | 639 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ |
OLD | NEW |