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

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

Issue 2854123003: Build WebRTC with data channel only. (Closed)
Patch Set: Add a Java level test. Created 3 years, 7 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 #include "webrtc/media/engine/webrtcmediaengine.h"
13
14 namespace webrtc {
15 class AudioDecoderFactory;
16 class AudioDeviceModule;
17 class AudioMixer;
18 } // namespace webrtc
19
20 namespace cricket {
21 class WebRtcVideoDecoderFactory;
22 class WebRtcVideoEncoderFactory;
23 } // namespace cricket
24
25 namespace webrtc {
26
27 std::unique_ptr<cricket::MediaEngineInterface> CreateMediaEngine(
28 webrtc::AudioDeviceModule* adm,
29 const rtc::scoped_refptr<webrtc::AudioEncoderFactory>&
30 audio_encoder_factory,
31 const rtc::scoped_refptr<webrtc::AudioDecoderFactory>&
32 audio_decoder_factory,
33 cricket::WebRtcVideoEncoderFactory* video_encoder_factory,
34 cricket::WebRtcVideoDecoderFactory* video_decoder_factory,
35 rtc::scoped_refptr<webrtc::AudioMixer> audio_mixer) {
36 return std::unique_ptr<cricket::MediaEngineInterface>();
37 }
38
39 std::unique_ptr<RtcEventLog> CreateRtcEventLog() {
40 return std::unique_ptr<RtcEventLog>(new RtcEventLogNullImpl());
41 }
42
43 Call* CreateCall(const Call::Config& config) {
44 return nullptr;
45 }
46
47 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698