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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 * | 601 * |
602 ***************************************************************************/ | 602 ***************************************************************************/ |
603 | 603 |
604 /* | 604 /* |
605 * Set the target send bitrate | 605 * Set the target send bitrate |
606 */ | 606 */ |
607 virtual void SetTargetSendBitrate(uint32_t bitrate_bps) = 0; | 607 virtual void SetTargetSendBitrate(uint32_t bitrate_bps) = 0; |
608 | 608 |
609 /* | 609 /* |
610 * Turn on/off generic FEC | 610 * Turn on/off generic FEC |
611 * | |
612 * return -1 on failure else 0 | |
613 */ | 611 */ |
614 virtual int32_t SetGenericFECStatus(bool enable, | 612 virtual void SetGenericFECStatus(bool enable, |
615 uint8_t payloadTypeRED, | 613 uint8_t payload_type_red, |
616 uint8_t payloadTypeFEC) = 0; | 614 uint8_t payload_type_fec) = 0; |
617 | 615 |
618 /* | 616 /* |
619 * Get generic FEC setting | 617 * Get generic FEC setting |
620 * | |
621 * return -1 on failure else 0 | |
622 */ | 618 */ |
623 virtual int32_t GenericFECStatus(bool& enable, | 619 virtual void GenericFECStatus(bool& enable, |
624 uint8_t& payloadTypeRED, | 620 uint8_t& payloadTypeRED, |
625 uint8_t& payloadTypeFEC) = 0; | 621 uint8_t& payloadTypeFEC) = 0; |
626 | 622 |
627 | 623 |
628 virtual int32_t SetFecParameters( | 624 virtual int32_t SetFecParameters( |
629 const FecProtectionParams* delta_params, | 625 const FecProtectionParams* delta_params, |
630 const FecProtectionParams* key_params) = 0; | 626 const FecProtectionParams* key_params) = 0; |
631 | 627 |
632 /* | 628 /* |
633 * Set method for requestion a new key frame | 629 * Set method for requestion a new key frame |
634 * | 630 * |
635 * return -1 on failure else 0 | 631 * return -1 on failure else 0 |
636 */ | 632 */ |
637 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 633 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; |
638 | 634 |
639 /* | 635 /* |
640 * send a request for a keyframe | 636 * send a request for a keyframe |
641 * | 637 * |
642 * return -1 on failure else 0 | 638 * return -1 on failure else 0 |
643 */ | 639 */ |
644 virtual int32_t RequestKeyFrame() = 0; | 640 virtual int32_t RequestKeyFrame() = 0; |
645 }; | 641 }; |
646 } // namespace webrtc | 642 } // namespace webrtc |
647 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ | 643 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_H_ |
OLD | NEW |