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

Side by Side Diff: webrtc/pc/peerconnectionfactory.cc

Issue 2668523004: Move AudioDecoder and related stuff to the api/ directory (Closed)
Patch Set: more review fixes Created 3 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/modules/utility/BUILD.gn ('k') | webrtc/pc/peerconnectioninterface_unittest.cc » ('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 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright 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 #include "webrtc/pc/peerconnectionfactory.h" 11 #include "webrtc/pc/peerconnectionfactory.h"
12 12
13 #include <utility> 13 #include <utility>
14 14
15 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h"
15 #include "webrtc/api/mediaconstraintsinterface.h" 16 #include "webrtc/api/mediaconstraintsinterface.h"
16 #include "webrtc/api/mediastreamproxy.h" 17 #include "webrtc/api/mediastreamproxy.h"
17 #include "webrtc/api/mediastreamtrackproxy.h" 18 #include "webrtc/api/mediastreamtrackproxy.h"
18 #include "webrtc/api/peerconnectionfactoryproxy.h" 19 #include "webrtc/api/peerconnectionfactoryproxy.h"
19 #include "webrtc/api/peerconnectionproxy.h" 20 #include "webrtc/api/peerconnectionproxy.h"
20 #include "webrtc/api/videosourceproxy.h" 21 #include "webrtc/api/videosourceproxy.h"
21 #include "webrtc/base/bind.h" 22 #include "webrtc/base/bind.h"
22 #include "webrtc/base/checks.h" 23 #include "webrtc/base/checks.h"
23 #include "webrtc/media/engine/webrtcmediaengine.h" 24 #include "webrtc/media/engine/webrtcmediaengine.h"
24 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" 25 #include "webrtc/media/engine/webrtcvideodecoderfactory.h"
25 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" 26 #include "webrtc/media/engine/webrtcvideoencoderfactory.h"
26 #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h"
27 #include "webrtc/modules/audio_device/include/audio_device.h" 27 #include "webrtc/modules/audio_device/include/audio_device.h"
28 #include "webrtc/p2p/base/basicpacketsocketfactory.h" 28 #include "webrtc/p2p/base/basicpacketsocketfactory.h"
29 #include "webrtc/p2p/client/basicportallocator.h" 29 #include "webrtc/p2p/client/basicportallocator.h"
30 #include "webrtc/pc/audiotrack.h" 30 #include "webrtc/pc/audiotrack.h"
31 #include "webrtc/pc/localaudiosource.h" 31 #include "webrtc/pc/localaudiosource.h"
32 #include "webrtc/pc/mediastream.h" 32 #include "webrtc/pc/mediastream.h"
33 #include "webrtc/pc/peerconnection.h" 33 #include "webrtc/pc/peerconnection.h"
34 #include "webrtc/pc/videocapturertracksource.h" 34 #include "webrtc/pc/videocapturertracksource.h"
35 #include "webrtc/pc/videotrack.h" 35 #include "webrtc/pc/videotrack.h"
36 36
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 } 390 }
391 391
392 cricket::MediaEngineInterface* PeerConnectionFactory::CreateMediaEngine_w() { 392 cricket::MediaEngineInterface* PeerConnectionFactory::CreateMediaEngine_w() {
393 RTC_DCHECK(worker_thread_ == rtc::Thread::Current()); 393 RTC_DCHECK(worker_thread_ == rtc::Thread::Current());
394 return cricket::WebRtcMediaEngineFactory::Create( 394 return cricket::WebRtcMediaEngineFactory::Create(
395 default_adm_.get(), audio_decoder_factory_, video_encoder_factory_.get(), 395 default_adm_.get(), audio_decoder_factory_, video_encoder_factory_.get(),
396 video_decoder_factory_.get(), external_audio_mixer_); 396 video_decoder_factory_.get(), external_audio_mixer_);
397 } 397 }
398 398
399 } // namespace webrtc 399 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/utility/BUILD.gn ('k') | webrtc/pc/peerconnectioninterface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698