| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 |
| 11 #ifndef WEBRTC_MEDIA_WEBRTC_WEBRTCVOICEENGINE_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ |
| 12 #define WEBRTC_MEDIA_WEBRTC_WEBRTCVOICEENGINE_H_ | 12 #define WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "talk/session/media/channel.h" | 18 #include "talk/session/media/channel.h" |
| 19 #include "webrtc/audio_state.h" | 19 #include "webrtc/audio_state.h" |
| 20 #include "webrtc/base/buffer.h" | 20 #include "webrtc/base/buffer.h" |
| 21 #include "webrtc/base/scoped_ptr.h" | 21 #include "webrtc/base/scoped_ptr.h" |
| 22 #include "webrtc/base/stream.h" | 22 #include "webrtc/base/stream.h" |
| 23 #include "webrtc/base/thread_checker.h" | 23 #include "webrtc/base/thread_checker.h" |
| 24 #include "webrtc/call.h" | 24 #include "webrtc/call.h" |
| 25 #include "webrtc/common.h" | 25 #include "webrtc/common.h" |
| 26 #include "webrtc/config.h" | 26 #include "webrtc/config.h" |
| 27 #include "webrtc/media/base/rtputils.h" | 27 #include "webrtc/media/base/rtputils.h" |
| 28 #include "webrtc/media/webrtc/webrtccommon.h" | 28 #include "webrtc/media/engine/webrtccommon.h" |
| 29 #include "webrtc/media/webrtc/webrtcvoe.h" | 29 #include "webrtc/media/engine/webrtcvoe.h" |
| 30 | 30 |
| 31 namespace cricket { | 31 namespace cricket { |
| 32 | 32 |
| 33 class AudioDeviceModule; | 33 class AudioDeviceModule; |
| 34 class AudioRenderer; | 34 class AudioRenderer; |
| 35 class VoEWrapper; | 35 class VoEWrapper; |
| 36 class WebRtcVoiceMediaChannel; | 36 class WebRtcVoiceMediaChannel; |
| 37 | 37 |
| 38 // WebRtcVoiceEngine is a class to be used with CompositeMediaEngine. | 38 // WebRtcVoiceEngine is a class to be used with CompositeMediaEngine. |
| 39 // It uses the WebRtc VoiceEngine library for audio handling. | 39 // It uses the WebRtc VoiceEngine library for audio handling. |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 std::vector<webrtc::RtpExtension> send_rtp_extensions_; | 265 std::vector<webrtc::RtpExtension> send_rtp_extensions_; |
| 266 | 266 |
| 267 class WebRtcAudioReceiveStream; | 267 class WebRtcAudioReceiveStream; |
| 268 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; | 268 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; |
| 269 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; | 269 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; |
| 270 | 270 |
| 271 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); | 271 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); |
| 272 }; | 272 }; |
| 273 } // namespace cricket | 273 } // namespace cricket |
| 274 | 274 |
| 275 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCVOICEENGINE_H_ | 275 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ |
| OLD | NEW |