OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_ENGINE_WEBRTCMEDIAENGINE_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_WEBRTCMEDIAENGINE_H_ |
12 #define WEBRTC_MEDIA_ENGINE_WEBRTCMEDIAENGINE_H_ | 12 #define WEBRTC_MEDIA_ENGINE_WEBRTCMEDIAENGINE_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/config.h" | 17 #include "webrtc/config.h" |
18 #include "webrtc/media/base/mediaengine.h" | 18 #include "webrtc/media/base/mediaengine.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
| 21 class AudioDecoderFactory; |
21 class AudioDeviceModule; | 22 class AudioDeviceModule; |
22 } | 23 } |
23 namespace cricket { | 24 namespace cricket { |
24 class WebRtcVideoDecoderFactory; | 25 class WebRtcVideoDecoderFactory; |
25 class WebRtcVideoEncoderFactory; | 26 class WebRtcVideoEncoderFactory; |
26 } | 27 } |
27 | 28 |
28 namespace cricket { | 29 namespace cricket { |
29 | 30 |
30 class WebRtcMediaEngineFactory { | 31 class WebRtcMediaEngineFactory { |
(...skipping 22 matching lines...) Expand all Loading... |
53 // extensions are removed if 'filter_redundant_extensions' is set, and also any | 54 // extensions are removed if 'filter_redundant_extensions' is set, and also any |
54 // mutually exclusive extensions (see implementation for details) are removed. | 55 // mutually exclusive extensions (see implementation for details) are removed. |
55 std::vector<webrtc::RtpExtension> FilterRtpExtensions( | 56 std::vector<webrtc::RtpExtension> FilterRtpExtensions( |
56 const std::vector<webrtc::RtpExtension>& extensions, | 57 const std::vector<webrtc::RtpExtension>& extensions, |
57 bool (*supported)(const std::string&), | 58 bool (*supported)(const std::string&), |
58 bool filter_redundant_extensions); | 59 bool filter_redundant_extensions); |
59 | 60 |
60 } // namespace cricket | 61 } // namespace cricket |
61 | 62 |
62 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCMEDIAENGINE_H_ | 63 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCMEDIAENGINE_H_ |
OLD | NEW |