Home
last modified time | relevance | path

Searched refs:media_deps (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/
Dwebrtc_lib_link_test.cc31 cricket::MediaEngineDependencies media_deps; in CreateSomeMediaDeps() local
32 media_deps.task_queue_factory = task_queue_factory; in CreateSomeMediaDeps()
33 media_deps.adm = AudioDeviceModule::CreateForTest( in CreateSomeMediaDeps()
35 media_deps.audio_encoder_factory = in CreateSomeMediaDeps()
37 media_deps.audio_decoder_factory = in CreateSomeMediaDeps()
39 media_deps.video_encoder_factory = CreateBuiltinVideoEncoderFactory(); in CreateSomeMediaDeps()
40 media_deps.video_decoder_factory = webrtc::CreateBuiltinVideoDecoderFactory(); in CreateSomeMediaDeps()
41 media_deps.audio_processing = webrtc::AudioProcessingBuilder().Create(); in CreateSomeMediaDeps()
42 return media_deps; in CreateSomeMediaDeps()
54 auto media_deps = CreateSomeMediaDeps(pcf_deps.task_queue_factory.get()); in CreateSomePcfDeps() local
[all …]
/external/webrtc/sdk/android/native_unittests/peerconnection/
Dpeer_connection_factory_unittest.cc55 cricket::MediaEngineDependencies media_deps; in CreateTestPCF() local
56 media_deps.task_queue_factory = pcf_deps.task_queue_factory.get(); in CreateTestPCF()
57 media_deps.adm = in CreateTestPCF()
59 media_deps.video_encoder_factory = in CreateTestPCF()
61 media_deps.video_decoder_factory = in CreateTestPCF()
63 SetMediaEngineDefaults(&media_deps); in CreateTestPCF()
64 pcf_deps.media_engine = cricket::CreateMediaEngine(std::move(media_deps)); in CreateTestPCF()
/external/webrtc/test/peer_scenario/
Dpeer_scenario_client.cc203 cricket::MediaEngineDependencies media_deps; in PeerScenarioClient() local
204 media_deps.task_queue_factory = task_queue_factory_; in PeerScenarioClient()
205 media_deps.adm = TestAudioDeviceModule::Create( in PeerScenarioClient()
213 media_deps.audio_processing = AudioProcessingBuilder().Create(); in PeerScenarioClient()
215 media_deps.video_encoder_factory = in PeerScenarioClient()
218 media_deps.video_decoder_factory = in PeerScenarioClient()
221 media_deps.video_encoder_factory = CreateBuiltinVideoEncoderFactory(); in PeerScenarioClient()
222 media_deps.video_decoder_factory = CreateBuiltinVideoDecoderFactory(); in PeerScenarioClient()
224 media_deps.audio_encoder_factory = CreateBuiltinAudioEncoderFactory(); in PeerScenarioClient()
225 media_deps.audio_decoder_factory = CreateBuiltinAudioDecoderFactory(); in PeerScenarioClient()
[all …]
/external/webrtc/test/network/
Dnetwork_emulation_pc_unittest.cc62 cricket::MediaEngineDependencies media_deps; in CreatePeerConnectionFactory() local
63 media_deps.task_queue_factory = pcf_deps.task_queue_factory.get(); in CreatePeerConnectionFactory()
64 media_deps.adm = TestAudioDeviceModule::Create( in CreatePeerConnectionFactory()
65 media_deps.task_queue_factory, in CreatePeerConnectionFactory()
70 SetMediaEngineDefaults(&media_deps); in CreatePeerConnectionFactory()
71 pcf_deps.media_engine = cricket::CreateMediaEngine(std::move(media_deps)); in CreatePeerConnectionFactory()
/external/webrtc/sdk/objc/api/peerconnection/
DRTCPeerConnectionFactory.mm184 cricket::MediaEngineDependencies media_deps;
185 media_deps.adm = std::move(audioDeviceModule);
186 media_deps.task_queue_factory = dependencies.task_queue_factory.get();
187 media_deps.audio_encoder_factory = std::move(audioEncoderFactory);
188 media_deps.audio_decoder_factory = std::move(audioDecoderFactory);
189 media_deps.video_encoder_factory = std::move(videoEncoderFactory);
190 media_deps.video_decoder_factory = std::move(videoDecoderFactory);
192 media_deps.audio_processing = std::move(audioProcessingModule);
194 media_deps.audio_processing = webrtc::AudioProcessingBuilder().Create();
196 dependencies.media_engine = cricket::CreateMediaEngine(std::move(media_deps));
/external/webrtc/test/pc/e2e/
Dtest_peer_factory.cc167 cricket::MediaEngineDependencies media_deps; in CreateMediaEngine() local
168 media_deps.task_queue_factory = pcf_dependencies->task_queue_factory.get(); in CreateMediaEngine()
169 media_deps.adm = audio_device_module; in CreateMediaEngine()
170 media_deps.audio_processing = audio_processing; in CreateMediaEngine()
171 media_deps.video_encoder_factory = in CreateMediaEngine()
173 media_deps.video_decoder_factory = in CreateMediaEngine()
175 webrtc::SetMediaEngineDefaults(&media_deps); in CreateMediaEngine()
176 return cricket::CreateMediaEngine(std::move(media_deps)); in CreateMediaEngine()
/external/webrtc/examples/objcnativeapi/objc/
Dobjc_call_client.mm122 cricket::MediaEngineDependencies media_deps;
123 media_deps.task_queue_factory = dependencies.task_queue_factory.get();
124 media_deps.audio_encoder_factory = webrtc::CreateBuiltinAudioEncoderFactory();
125 media_deps.audio_decoder_factory = webrtc::CreateBuiltinAudioDecoderFactory();
126 media_deps.video_encoder_factory = webrtc::ObjCToNativeVideoEncoderFactory(
128 media_deps.video_decoder_factory = webrtc::ObjCToNativeVideoDecoderFactory(
130 media_deps.audio_processing = webrtc::AudioProcessingBuilder().Create();
131 dependencies.media_engine = cricket::CreateMediaEngine(std::move(media_deps));
/external/webrtc/examples/androidnativeapi/jni/
Dandroid_call_client.cc162 cricket::MediaEngineDependencies media_deps; in CreatePeerConnectionFactory() local
163 media_deps.task_queue_factory = pcf_deps.task_queue_factory.get(); in CreatePeerConnectionFactory()
164 media_deps.video_encoder_factory = in CreatePeerConnectionFactory()
166 media_deps.video_decoder_factory = in CreatePeerConnectionFactory()
168 webrtc::SetMediaEngineDefaults(&media_deps); in CreatePeerConnectionFactory()
169 pcf_deps.media_engine = cricket::CreateMediaEngine(std::move(media_deps)); in CreatePeerConnectionFactory()
/external/webrtc/pc/
Dpeer_connection_jsep_unittest.cc53 cricket::MediaEngineDependencies media_deps; in PeerConnectionFactoryForJsepTest() local
54 media_deps.task_queue_factory = dependencies.task_queue_factory.get(); in PeerConnectionFactoryForJsepTest()
55 media_deps.adm = FakeAudioCaptureModule::Create(); in PeerConnectionFactoryForJsepTest()
56 SetMediaEngineDefaults(&media_deps); in PeerConnectionFactoryForJsepTest()
58 cricket::CreateMediaEngine(std::move(media_deps)); in PeerConnectionFactoryForJsepTest()
Dpeer_connection_integrationtest.cc636 cricket::MediaEngineDependencies media_deps; in Init() local
637 media_deps.task_queue_factory = in Init()
639 media_deps.adm = fake_audio_capture_module_; in Init()
640 webrtc::SetMediaEngineDefaults(&media_deps); in Init()
643 media_deps.video_encoder_factory.reset(); in Init()
646 media_deps.video_decoder_factory.reset(); in Init()
649 if (!media_deps.audio_processing) { in Init()
652 media_deps.audio_processing = AudioProcessingBuilderForTesting().Create(); in Init()
656 cricket::CreateMediaEngine(std::move(media_deps)); in Init()
Dpeer_connection_interface_unittest.cc649 cricket::MediaEngineDependencies media_deps; in CreatePeerConnectionFactoryForTest() local
650 media_deps.task_queue_factory = dependencies.task_queue_factory.get(); in CreatePeerConnectionFactoryForTest()
653 media_deps.adm = FakeAudioCaptureModule::Create(); in CreatePeerConnectionFactoryForTest()
654 SetMediaEngineDefaults(&media_deps); in CreatePeerConnectionFactoryForTest()
656 cricket::CreateMediaEngine(std::move(media_deps)); in CreatePeerConnectionFactoryForTest()