| 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/audio_state.h" | 21 #include "webrtc/api/call/audio_state.h" |
| 22 #include "webrtc/api/rtpparameters.h" | 22 #include "webrtc/api/rtpparameters.h" |
| 23 #include "webrtc/base/fileutils.h" | 23 #include "webrtc/base/fileutils.h" |
| 24 #include "webrtc/base/sigslotrepeater.h" | 24 #include "webrtc/base/sigslotrepeater.h" |
| 25 #include "webrtc/media/base/codec.h" | 25 #include "webrtc/media/base/codec.h" |
| 26 #include "webrtc/media/base/mediachannel.h" | 26 #include "webrtc/media/base/mediachannel.h" |
| 27 #include "webrtc/media/base/mediacommon.h" | 27 #include "webrtc/media/base/mediacommon.h" |
| 28 #include "webrtc/media/base/videocommon.h" | 28 #include "webrtc/media/base/videocommon.h" |
| 29 #include "webrtc/modules/audio_coding/codecs/audio_decoder_factory.h" | 29 #include "webrtc/modules/audio_coding/codecs/audio_decoder_factory.h" |
| 30 | 30 |
| 31 #if defined(GOOGLE_CHROME_BUILD) || defined(CHROMIUM_BUILD) | 31 #if defined(GOOGLE_CHROME_BUILD) || defined(CHROMIUM_BUILD) |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 virtual ~DataEngineInterface() {} | 175 virtual ~DataEngineInterface() {} |
| 176 virtual DataMediaChannel* CreateChannel(DataChannelType type) = 0; | 176 virtual DataMediaChannel* CreateChannel(DataChannelType type) = 0; |
| 177 virtual const std::vector<DataCodec>& data_codecs() = 0; | 177 virtual const std::vector<DataCodec>& data_codecs() = 0; |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 webrtc::RtpParameters CreateRtpParametersWithOneEncoding(); | 180 webrtc::RtpParameters CreateRtpParametersWithOneEncoding(); |
| 181 | 181 |
| 182 } // namespace cricket | 182 } // namespace cricket |
| 183 | 183 |
| 184 #endif // WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ | 184 #endif // WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ |
| OLD | NEW |