OLD | NEW |
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/api/peerconnectionfactory.h" | 11 #include "webrtc/api/peerconnectionfactory.h" |
12 | 12 |
13 #include <utility> | 13 #include <utility> |
14 | 14 |
15 #include "webrtc/api/audiotrack.h" | 15 #include "webrtc/api/audiotrack.h" |
16 #include "webrtc/api/localaudiosource.h" | 16 #include "webrtc/api/localaudiosource.h" |
17 #include "webrtc/api/mediastream.h" | 17 #include "webrtc/api/mediastream.h" |
18 #include "webrtc/api/mediastreamproxy.h" | 18 #include "webrtc/api/mediastreamproxy.h" |
19 #include "webrtc/api/mediastreamtrackproxy.h" | 19 #include "webrtc/api/mediastreamtrackproxy.h" |
20 #include "webrtc/api/peerconnection.h" | 20 #include "webrtc/api/peerconnection.h" |
21 #include "webrtc/api/peerconnectionfactoryproxy.h" | 21 #include "webrtc/api/peerconnectionfactoryproxy.h" |
22 #include "webrtc/api/peerconnectionproxy.h" | 22 #include "webrtc/api/peerconnectionproxy.h" |
23 #include "webrtc/api/videosource.h" | 23 #include "webrtc/api/videosource.h" |
24 #include "webrtc/api/videosourceproxy.h" | 24 #include "webrtc/api/videosourceproxy.h" |
25 #include "webrtc/api/videotrack.h" | 25 #include "webrtc/api/videotrack.h" |
26 #include "webrtc/base/bind.h" | 26 #include "webrtc/base/bind.h" |
27 #include "webrtc/media/webrtc/webrtcmediaengine.h" | 27 #include "webrtc/media/engine/webrtcmediaengine.h" |
28 #include "webrtc/media/webrtc/webrtcvideodecoderfactory.h" | 28 #include "webrtc/media/engine/webrtcvideodecoderfactory.h" |
29 #include "webrtc/media/webrtc/webrtcvideoencoderfactory.h" | 29 #include "webrtc/media/engine/webrtcvideoencoderfactory.h" |
30 #include "webrtc/modules/audio_device/include/audio_device.h" | 30 #include "webrtc/modules/audio_device/include/audio_device.h" |
31 #include "webrtc/p2p/base/basicpacketsocketfactory.h" | 31 #include "webrtc/p2p/base/basicpacketsocketfactory.h" |
32 #include "webrtc/p2p/client/basicportallocator.h" | 32 #include "webrtc/p2p/client/basicportallocator.h" |
33 | 33 |
34 namespace webrtc { | 34 namespace webrtc { |
35 | 35 |
36 namespace { | 36 namespace { |
37 | 37 |
38 // Passes down the calls to |store_|. See usage in CreatePeerConnection. | 38 // Passes down the calls to |store_|. See usage in CreatePeerConnection. |
39 class DtlsIdentityStoreWrapper : public DtlsIdentityStoreInterface { | 39 class DtlsIdentityStoreWrapper : public DtlsIdentityStoreInterface { |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 } | 305 } |
306 | 306 |
307 cricket::MediaEngineInterface* PeerConnectionFactory::CreateMediaEngine_w() { | 307 cricket::MediaEngineInterface* PeerConnectionFactory::CreateMediaEngine_w() { |
308 ASSERT(worker_thread_ == rtc::Thread::Current()); | 308 ASSERT(worker_thread_ == rtc::Thread::Current()); |
309 return cricket::WebRtcMediaEngineFactory::Create( | 309 return cricket::WebRtcMediaEngineFactory::Create( |
310 default_adm_.get(), video_encoder_factory_.get(), | 310 default_adm_.get(), video_encoder_factory_.get(), |
311 video_decoder_factory_.get()); | 311 video_decoder_factory_.get()); |
312 } | 312 } |
313 | 313 |
314 } // namespace webrtc | 314 } // namespace webrtc |
OLD | NEW |