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

Side by Side Diff: webrtc/media/engine/fakewebrtcvideoengine.h

Issue 1844843003: Add mock AudioDeviceModule. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@wvoe_adm_in_ctor
Patch Set: rebase Created 4 years, 8 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 | « no previous file | webrtc/media/engine/fakewebrtcvoiceengine.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2010 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_FAKEWEBRTCVIDEOENGINE_H_ 11 #ifndef WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOENGINE_H_
12 #define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOENGINE_H_ 12 #define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOENGINE_H_
13 13
14 #include <map> 14 #include <map>
15 #include <set> 15 #include <set>
16 #include <vector> 16 #include <vector>
17 17
18 #include "webrtc/base/basictypes.h" 18 #include "webrtc/base/basictypes.h"
19 #include "webrtc/base/criticalsection.h" 19 #include "webrtc/base/criticalsection.h"
20 #include "webrtc/base/gunit.h" 20 #include "webrtc/base/gunit.h"
21 #include "webrtc/base/stringutils.h" 21 #include "webrtc/base/stringutils.h"
22 #include "webrtc/base/thread_annotations.h" 22 #include "webrtc/base/thread_annotations.h"
23 #include "webrtc/media/base/codec.h" 23 #include "webrtc/media/base/codec.h"
24 #include "webrtc/media/engine/fakewebrtccommon.h"
25 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" 24 #include "webrtc/media/engine/webrtcvideodecoderfactory.h"
26 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" 25 #include "webrtc/media/engine/webrtcvideoencoderfactory.h"
27 #include "webrtc/modules/video_coding/include/video_error_codes.h" 26 #include "webrtc/modules/video_coding/include/video_error_codes.h"
28 #include "webrtc/video_decoder.h" 27 #include "webrtc/video_decoder.h"
29 #include "webrtc/video_encoder.h" 28 #include "webrtc/video_encoder.h"
30 29
31 namespace cricket { 30 namespace cricket {
32 31
33 static const int kMinVideoBitrate = 100; 32 static const int kMinVideoBitrate = 100;
34 static const int kStartVideoBitrate = 300; 33 static const int kStartVideoBitrate = 300;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 std::set<webrtc::VideoCodecType> supported_codec_types_; 226 std::set<webrtc::VideoCodecType> supported_codec_types_;
228 std::vector<WebRtcVideoEncoderFactory::VideoCodec> codecs_; 227 std::vector<WebRtcVideoEncoderFactory::VideoCodec> codecs_;
229 std::vector<FakeWebRtcVideoEncoder*> encoders_; 228 std::vector<FakeWebRtcVideoEncoder*> encoders_;
230 int num_created_encoders_; 229 int num_created_encoders_;
231 bool encoders_have_internal_sources_; 230 bool encoders_have_internal_sources_;
232 }; 231 };
233 232
234 } // namespace cricket 233 } // namespace cricket
235 234
236 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOENGINE_H_ 235 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/media/engine/fakewebrtcvoiceengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698