Chromium Code Reviews| 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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 764 // int DisableOpusDtx() | 764 // int DisableOpusDtx() |
| 765 // If current send codec is Opus, disables its internal DTX. | 765 // If current send codec is Opus, disables its internal DTX. |
| 766 // | 766 // |
| 767 // Return value: | 767 // Return value: |
| 768 // -1 if current send codec is not Opus or error occurred in disabling DTX. | 768 // -1 if current send codec is not Opus or error occurred in disabling DTX. |
| 769 // 0 if Opus DTX is disabled successfully. | 769 // 0 if Opus DTX is disabled successfully. |
| 770 // | 770 // |
| 771 virtual int DisableOpusDtx() = 0; | 771 virtual int DisableOpusDtx() = 0; |
| 772 | 772 |
| 773 /////////////////////////////////////////////////////////////////////////// | 773 /////////////////////////////////////////////////////////////////////////// |
| 774 // EnableOpusCbr() | |
|
minyue-webrtc
2017/03/29 20:45:26
int
| |
| 775 // Enable the CBR, if current send codec is Opus. | |
| 776 // | |
| 777 // Return value: | |
| 778 // -1 if current send codec is not Opus or error occurred in enabling the | |
| 779 // Opus CBR mode. | |
| 780 // 0 if Opus CBR is enabled successfully. | |
| 781 // | |
| 782 virtual int EnableOpusCbr() = 0; | |
| 783 | |
| 784 /////////////////////////////////////////////////////////////////////////// | |
| 785 // int DisableOpusCbr() | |
| 786 // If current send codec is Opus, disables its internal CBR. | |
| 787 // | |
| 788 // Return value: | |
| 789 // -1 if current send codec is not Opus or error occurred in disabling CBR. | |
| 790 // 0 if Opus CBR is disabled successfully. | |
| 791 // | |
| 792 virtual int DisableOpusCbr() = 0; | |
| 793 | |
| 794 /////////////////////////////////////////////////////////////////////////// | |
| 774 // statistics | 795 // statistics |
| 775 // | 796 // |
| 776 | 797 |
| 777 /////////////////////////////////////////////////////////////////////////// | 798 /////////////////////////////////////////////////////////////////////////// |
| 778 // int32_t GetNetworkStatistics() | 799 // int32_t GetNetworkStatistics() |
| 779 // Get network statistics. Note that the internal statistics of NetEq are | 800 // Get network statistics. Note that the internal statistics of NetEq are |
| 780 // reset by this call. | 801 // reset by this call. |
| 781 // | 802 // |
| 782 // Input: | 803 // Input: |
| 783 // -network_statistics : a structure that contains network statistics. | 804 // -network_statistics : a structure that contains network statistics. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 817 virtual std::vector<uint16_t> GetNackList( | 838 virtual std::vector<uint16_t> GetNackList( |
| 818 int64_t round_trip_time_ms) const = 0; | 839 int64_t round_trip_time_ms) const = 0; |
| 819 | 840 |
| 820 virtual void GetDecodingCallStatistics( | 841 virtual void GetDecodingCallStatistics( |
| 821 AudioDecodingCallStats* call_stats) const = 0; | 842 AudioDecodingCallStats* call_stats) const = 0; |
| 822 }; | 843 }; |
| 823 | 844 |
| 824 } // namespace webrtc | 845 } // namespace webrtc |
| 825 | 846 |
| 826 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ | 847 #endif // WEBRTC_MODULES_AUDIO_CODING_INCLUDE_AUDIO_CODING_MODULE_H_ |
| OLD | NEW |