| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 void SetBitRate(int bitrate_bps); | 211 void SetBitRate(int bitrate_bps); |
| 212 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); | 212 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); |
| 213 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); | 213 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); |
| 214 int32_t SetRecPayloadType(const CodecInst& codec); | 214 int32_t SetRecPayloadType(const CodecInst& codec); |
| 215 int32_t GetRecPayloadType(CodecInst& codec); | 215 int32_t GetRecPayloadType(CodecInst& codec); |
| 216 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); | 216 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); |
| 217 int SetOpusMaxPlaybackRate(int frequency_hz); | 217 int SetOpusMaxPlaybackRate(int frequency_hz); |
| 218 int SetOpusDtx(bool enable_dtx); | 218 int SetOpusDtx(bool enable_dtx); |
| 219 | 219 |
| 220 // VoENetwork | 220 // VoENetwork |
| 221 int32_t RegisterExternalTransport(Transport& transport); | 221 int32_t RegisterExternalTransport(Transport* transport); |
| 222 int32_t DeRegisterExternalTransport(); | 222 int32_t DeRegisterExternalTransport(); |
| 223 int32_t ReceivedRTPPacket(const int8_t* data, | 223 int32_t ReceivedRTPPacket(const uint8_t* received_packet, |
| 224 size_t length, | 224 size_t length, |
| 225 const PacketTime& packet_time); | 225 const PacketTime& packet_time); |
| 226 int32_t ReceivedRTCPPacket(const int8_t* data, size_t length); | 226 int32_t ReceivedRTCPPacket(const uint8_t* data, size_t length); |
| 227 | 227 |
| 228 // VoEFile | 228 // VoEFile |
| 229 int StartPlayingFileLocally(const char* fileName, | 229 int StartPlayingFileLocally(const char* fileName, |
| 230 bool loop, | 230 bool loop, |
| 231 FileFormats format, | 231 FileFormats format, |
| 232 int startPosition, | 232 int startPosition, |
| 233 float volumeScaling, | 233 float volumeScaling, |
| 234 int stopPosition, | 234 int stopPosition, |
| 235 const CodecInst* codecInst); | 235 const CodecInst* codecInst); |
| 236 int StartPlayingFileLocally(InStream* stream, | 236 int StartPlayingFileLocally(InStream* stream, |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 PacketRouter* packet_router_ = nullptr; | 573 PacketRouter* packet_router_ = nullptr; |
| 574 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_; | 574 std::unique_ptr<TransportFeedbackProxy> feedback_observer_proxy_; |
| 575 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; | 575 std::unique_ptr<TransportSequenceNumberProxy> seq_num_allocator_proxy_; |
| 576 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; | 576 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; |
| 577 }; | 577 }; |
| 578 | 578 |
| 579 } // namespace voe | 579 } // namespace voe |
| 580 } // namespace webrtc | 580 } // namespace webrtc |
| 581 | 581 |
| 582 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ | 582 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ |
| OLD | NEW |