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

Side by Side Diff: pc/createpeerconnectionfactory.cc

Issue 3013123002: Remove unnecessary audio references in PeerConnectionFactory
Patch Set: Created 3 years, 3 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 | « api/peerconnectioninterface.h ('k') | pc/peerconnectionfactory.h » ('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 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 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
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 default_adm, audio_encoder_factory, audio_decoder_factory, 61 default_adm, audio_encoder_factory, audio_decoder_factory,
62 video_encoder_factory, video_decoder_factory, audio_mixer, 62 video_encoder_factory, video_decoder_factory, audio_mixer,
63 audio_processing_use)); 63 audio_processing_use));
64 64
65 std::unique_ptr<CallFactoryInterface> call_factory = CreateCallFactory(); 65 std::unique_ptr<CallFactoryInterface> call_factory = CreateCallFactory();
66 66
67 std::unique_ptr<RtcEventLogFactoryInterface> event_log_factory = 67 std::unique_ptr<RtcEventLogFactoryInterface> event_log_factory =
68 CreateRtcEventLogFactory(); 68 CreateRtcEventLogFactory();
69 69
70 return CreateModularPeerConnectionFactory( 70 return CreateModularPeerConnectionFactory(
71 network_thread, worker_thread, signaling_thread, default_adm, 71 network_thread, worker_thread, signaling_thread, video_encoder_factory,
72 audio_encoder_factory, audio_decoder_factory, video_encoder_factory, 72 video_decoder_factory, std::move(media_engine), std::move(call_factory),
73 video_decoder_factory, audio_mixer, std::move(media_engine), 73 std::move(event_log_factory));
74 std::move(call_factory), std::move(event_log_factory));
75 } 74 }
76 75
77 rtc::scoped_refptr<PeerConnectionFactoryInterface> 76 rtc::scoped_refptr<PeerConnectionFactoryInterface>
78 CreatePeerConnectionFactoryWithAudioMixer( 77 CreatePeerConnectionFactoryWithAudioMixer(
79 rtc::Thread* network_thread, 78 rtc::Thread* network_thread,
80 rtc::Thread* worker_thread, 79 rtc::Thread* worker_thread,
81 rtc::Thread* signaling_thread, 80 rtc::Thread* signaling_thread,
82 AudioDeviceModule* default_adm, 81 AudioDeviceModule* default_adm,
83 rtc::scoped_refptr<AudioEncoderFactory> audio_encoder_factory, 82 rtc::scoped_refptr<AudioEncoderFactory> audio_encoder_factory,
84 rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory, 83 rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory, 126 rtc::scoped_refptr<AudioDecoderFactory> audio_decoder_factory,
128 cricket::WebRtcVideoEncoderFactory* video_encoder_factory, 127 cricket::WebRtcVideoEncoderFactory* video_encoder_factory,
129 cricket::WebRtcVideoDecoderFactory* video_decoder_factory) { 128 cricket::WebRtcVideoDecoderFactory* video_decoder_factory) {
130 return CreatePeerConnectionFactoryWithAudioMixer( 129 return CreatePeerConnectionFactoryWithAudioMixer(
131 network_thread, worker_thread, signaling_thread, default_adm, 130 network_thread, worker_thread, signaling_thread, default_adm,
132 audio_encoder_factory, audio_decoder_factory, video_encoder_factory, 131 audio_encoder_factory, audio_decoder_factory, video_encoder_factory,
133 video_decoder_factory, nullptr); 132 video_decoder_factory, nullptr);
134 } 133 }
135 134
136 } // namespace webrtc 135 } // namespace webrtc
OLDNEW
« no previous file with comments | « api/peerconnectioninterface.h ('k') | pc/peerconnectionfactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698