Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Side by Side Diff: webrtc/media/webrtc/webrtcmediaengine.h

Issue 1684163002: Rename webrtc/media/webrtc -> webrtc/media/engine (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase f396f6085f9e4f16f37471a7828e3e31308c0d52 #11590 Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/media/webrtc/webrtccommon.h ('k') | webrtc/media/webrtc/webrtcmediaengine.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_MEDIA_WEBRTC_WEBRTCMEDIAENGINE_H_
12 #define WEBRTC_MEDIA_WEBRTC_WEBRTCMEDIAENGINE_H_
13
14 #include <string>
15 #include <vector>
16
17 #include "webrtc/config.h"
18 #include "webrtc/media/base/mediaengine.h"
19
20 namespace webrtc {
21 class AudioDeviceModule;
22 }
23 namespace cricket {
24 class WebRtcVideoDecoderFactory;
25 class WebRtcVideoEncoderFactory;
26 }
27
28 namespace cricket {
29
30 class WebRtcMediaEngineFactory {
31 public:
32 static MediaEngineInterface* Create(
33 webrtc::AudioDeviceModule* adm,
34 WebRtcVideoEncoderFactory* encoder_factory,
35 WebRtcVideoDecoderFactory* decoder_factory);
36 };
37
38 // Verify that extension IDs are within 1-byte extension range and are not
39 // overlapping.
40 bool ValidateRtpExtensions(const std::vector<RtpHeaderExtension>& extensions);
41
42 // Convert cricket::RtpHeaderExtension:s to webrtc::RtpExtension:s, discarding
43 // any extensions not validated by the 'supported' predicate. Duplicate
44 // extensions are removed if 'filter_redundant_extensions' is set, and also any
45 // mutually exclusive extensions (see implementation for details).
46 std::vector<webrtc::RtpExtension> FilterRtpExtensions(
47 const std::vector<RtpHeaderExtension>& extensions,
48 bool (*supported)(const std::string&),
49 bool filter_redundant_extensions);
50
51 } // namespace cricket
52
53 #endif // WEBRTC_MEDIA_WEBRTC_WEBRTCMEDIAENGINE_H_
OLDNEW
« no previous file with comments | « webrtc/media/webrtc/webrtccommon.h ('k') | webrtc/media/webrtc/webrtcmediaengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698