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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 int32_t SetSendCodec(const CodecInst& codec); | 201 int32_t SetSendCodec(const CodecInst& codec); |
202 void SetBitRate(int bitrate_bps); | 202 void SetBitRate(int bitrate_bps); |
203 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); | 203 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); |
204 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); | 204 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); |
205 int32_t SetRecPayloadType(const CodecInst& codec); | 205 int32_t SetRecPayloadType(const CodecInst& codec); |
206 int32_t GetRecPayloadType(CodecInst& codec); | 206 int32_t GetRecPayloadType(CodecInst& codec); |
207 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); | 207 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); |
208 int SetOpusMaxPlaybackRate(int frequency_hz); | 208 int SetOpusMaxPlaybackRate(int frequency_hz); |
209 int SetOpusDtx(bool enable_dtx); | 209 int SetOpusDtx(bool enable_dtx); |
210 int GetOpusDtx(bool* enabled); | 210 int GetOpusDtx(bool* enabled); |
| 211 bool EnableAudioNetworkAdaptor(const std::string& config_string); |
| 212 void DisableAudioNetworkAdaptor(); |
| 213 void SetReceiverFrameLengthRange(int min_frame_length_ms, |
| 214 int max_frame_length_ms); |
211 | 215 |
212 // VoENetwork | 216 // VoENetwork |
213 int32_t RegisterExternalTransport(Transport* transport); | 217 int32_t RegisterExternalTransport(Transport* transport); |
214 int32_t DeRegisterExternalTransport(); | 218 int32_t DeRegisterExternalTransport(); |
215 int32_t ReceivedRTPPacket(const uint8_t* received_packet, | 219 int32_t ReceivedRTPPacket(const uint8_t* received_packet, |
216 size_t length, | 220 size_t length, |
217 const PacketTime& packet_time); | 221 const PacketTime& packet_time); |
218 int32_t ReceivedRTCPPacket(const uint8_t* data, size_t length); | 222 int32_t ReceivedRTCPPacket(const uint8_t* data, size_t length); |
219 | 223 |
220 // VoEFile | 224 // VoEFile |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; | 550 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; |
547 | 551 |
548 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. | 552 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. |
549 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 553 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
550 }; | 554 }; |
551 | 555 |
552 } // namespace voe | 556 } // namespace voe |
553 } // namespace webrtc | 557 } // namespace webrtc |
554 | 558 |
555 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ | 559 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ |
OLD | NEW |