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

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

Issue 2854123003: Build WebRTC with data channel only. (Closed)
Patch Set: Try the internal trybots. 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 (c) 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/logging/rtc_event_log/rtc_event_log.h"
12 // Adding 'nogncheck' to disable the gn include headers check.
13 // We don't want the null implementation to depend on the media related targets.
14 #include "webrtc/media/engine/webrtcmediaengine.h" // nogncheck
15
16 namespace webrtc {
17 class AudioEncoderFactory;
18 class AudioDecoderFactory;
19 class AudioDeviceModule;
20 class AudioMixer;
21 } // namespace webrtc
22
23 namespace cricket {
24
25 MediaEngineInterface* WebRtcMediaEngineFactory::Create(
26 webrtc::AudioDeviceModule* adm,
27 const rtc::scoped_refptr<webrtc::AudioEncoderFactory>&
28 audio_encoder_factory,
29 const rtc::scoped_refptr<webrtc::AudioDecoderFactory>&
30 audio_decoder_factory,
31 WebRtcVideoEncoderFactory* video_encoder_factory,
32 WebRtcVideoDecoderFactory* video_decoder_factory,
33 rtc::scoped_refptr<webrtc::AudioMixer> audio_mixer) {
34 return nullptr;
35 }
36
37 } // namespace cricket
38
39 namespace webrtc {
40
41 std::unique_ptr<RtcEventLog> RtcEventLog::Create() {
42 return std::unique_ptr<RtcEventLog>(new RtcEventLogNullImpl());
43 }
44
45 Call* Call::Create(const Call::Config& config) {
46 return nullptr;
47 }
48
49 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698