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

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

Issue 2854123003: Build WebRTC with data channel only. (Closed)
Patch Set: Replace the rtc_ prefix with webrtc_ to avoid naming conflict. Created 3 years, 6 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
OLDNEW
(Empty)
1 /*
2 * Copyright 2017 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 #include "webrtc/api/audio/audio_mixer.h"
12 #include "webrtc/api/audio_codecs/audio_decoder_factory.h"
13 #include "webrtc/api/audio_codecs/audio_encoder_factory.h"
14 #include "webrtc/api/peerconnectioninterface.h"
15 #include "webrtc/base/scoped_ref_ptr.h"
16 #include "webrtc/base/thread.h"
17 #include "webrtc/modules/audio_device/include/audio_device.h"
18
19 namespace webrtc {
20
21 rtc::scoped_refptr<PeerConnectionFactoryInterface>
22 CreatePeerConnectionFactory() {
23 return CreatePeerConnectionFactory(nullptr, nullptr);
24 }
25
26 rtc::scoped_refptr<PeerConnectionFactoryInterface>
27 CreatePeerConnectionFactoryWithAudioMixer(
28 rtc::Thread* network_thread,
29 rtc::Thread* worker_thread,
30 rtc::Thread* signaling_thread,
31 AudioDeviceModule* default_adm,
32 cricket::WebRtcVideoEncoderFactory* encoder_factory,
33 cricket::WebRtcVideoDecoderFactory* decoder_factory,
34 rtc::scoped_refptr<AudioMixer> audio_mixer) {
35 return CreatePeerConnectionFactoryWithAudioMixer(
36 network_thread, worker_thread, signaling_thread, default_adm, nullptr,
37 nullptr, encoder_factory, decoder_factory, audio_mixer);
38 }
39
40 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698