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_BASE_MEDIAENGINE_H_ | 11 #ifndef WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ |
12 #define WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ | 12 #define WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ |
13 | 13 |
14 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) | 14 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) |
15 #include <CoreAudio/CoreAudio.h> | 15 #include <CoreAudio/CoreAudio.h> |
16 #endif | 16 #endif |
17 | 17 |
18 #include <string> | 18 #include <string> |
19 #include <vector> | 19 #include <vector> |
20 | 20 |
21 #include "webrtc/api/audio_codecs/audio_decoder_factory.h" | 21 #include "webrtc/api/audio_codecs/audio_decoder_factory.h" |
22 #include "webrtc/api/audio_codecs/audio_encoder_factory.h" | 22 #include "webrtc/api/audio_codecs/audio_encoder_factory.h" |
23 #include "webrtc/api/rtpparameters.h" | 23 #include "webrtc/api/rtpparameters.h" |
| 24 #include "webrtc/base/fileutils.h" |
24 #include "webrtc/call/audio_state.h" | 25 #include "webrtc/call/audio_state.h" |
25 #include "webrtc/media/base/codec.h" | 26 #include "webrtc/media/base/codec.h" |
26 #include "webrtc/media/base/mediachannel.h" | 27 #include "webrtc/media/base/mediachannel.h" |
27 #include "webrtc/media/base/videocommon.h" | 28 #include "webrtc/media/base/videocommon.h" |
28 #include "webrtc/rtc_base/fileutils.h" | |
29 | 29 |
30 #if defined(GOOGLE_CHROME_BUILD) || defined(CHROMIUM_BUILD) | 30 #if defined(GOOGLE_CHROME_BUILD) || defined(CHROMIUM_BUILD) |
31 #define DISABLE_MEDIA_ENGINE_FACTORY | 31 #define DISABLE_MEDIA_ENGINE_FACTORY |
32 #endif | 32 #endif |
33 | 33 |
34 namespace webrtc { | 34 namespace webrtc { |
35 class AudioDeviceModule; | 35 class AudioDeviceModule; |
36 class AudioMixer; | 36 class AudioMixer; |
37 class AudioProcessing; | 37 class AudioProcessing; |
38 class Call; | 38 class Call; |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 virtual ~DataEngineInterface() {} | 183 virtual ~DataEngineInterface() {} |
184 virtual DataMediaChannel* CreateChannel(const MediaConfig& config) = 0; | 184 virtual DataMediaChannel* CreateChannel(const MediaConfig& config) = 0; |
185 virtual const std::vector<DataCodec>& data_codecs() = 0; | 185 virtual const std::vector<DataCodec>& data_codecs() = 0; |
186 }; | 186 }; |
187 | 187 |
188 webrtc::RtpParameters CreateRtpParametersWithOneEncoding(); | 188 webrtc::RtpParameters CreateRtpParametersWithOneEncoding(); |
189 | 189 |
190 } // namespace cricket | 190 } // namespace cricket |
191 | 191 |
192 #endif // WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ | 192 #endif // WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ |
OLD | NEW |