| 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/audio_state.h" |
| 22 #include "webrtc/api/rtpparameters.h" |
| 22 #include "webrtc/base/fileutils.h" | 23 #include "webrtc/base/fileutils.h" |
| 23 #include "webrtc/base/sigslotrepeater.h" | 24 #include "webrtc/base/sigslotrepeater.h" |
| 24 #include "webrtc/media/base/codec.h" | 25 #include "webrtc/media/base/codec.h" |
| 25 #include "webrtc/media/base/mediachannel.h" | 26 #include "webrtc/media/base/mediachannel.h" |
| 26 #include "webrtc/media/base/mediacommon.h" | 27 #include "webrtc/media/base/mediacommon.h" |
| 27 #include "webrtc/media/base/videocapturer.h" | 28 #include "webrtc/media/base/videocapturer.h" |
| 28 #include "webrtc/media/base/videocommon.h" | 29 #include "webrtc/media/base/videocommon.h" |
| 29 | 30 |
| 30 #if defined(GOOGLE_CHROME_BUILD) || defined(CHROMIUM_BUILD) | 31 #if defined(GOOGLE_CHROME_BUILD) || defined(CHROMIUM_BUILD) |
| 31 #define DISABLE_MEDIA_ENGINE_FACTORY | 32 #define DISABLE_MEDIA_ENGINE_FACTORY |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 DCT_SCTP = 2 | 198 DCT_SCTP = 2 |
| 198 }; | 199 }; |
| 199 | 200 |
| 200 class DataEngineInterface { | 201 class DataEngineInterface { |
| 201 public: | 202 public: |
| 202 virtual ~DataEngineInterface() {} | 203 virtual ~DataEngineInterface() {} |
| 203 virtual DataMediaChannel* CreateChannel(DataChannelType type) = 0; | 204 virtual DataMediaChannel* CreateChannel(DataChannelType type) = 0; |
| 204 virtual const std::vector<DataCodec>& data_codecs() = 0; | 205 virtual const std::vector<DataCodec>& data_codecs() = 0; |
| 205 }; | 206 }; |
| 206 | 207 |
| 208 webrtc::RtpParameters CreateRtpParametersWithOneEncoding(); |
| 209 |
| 207 } // namespace cricket | 210 } // namespace cricket |
| 208 | 211 |
| 209 #endif // WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ | 212 #endif // WEBRTC_MEDIA_BASE_MEDIAENGINE_H_ |
| OLD | NEW |