Searched refs:media_deps (Results 1 – 11 of 11) sorted by relevance
31 cricket::MediaEngineDependencies media_deps; in CreateSomeMediaDeps() local32 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 …]
55 cricket::MediaEngineDependencies media_deps; in CreateTestPCF() local56 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()
203 cricket::MediaEngineDependencies media_deps; in PeerScenarioClient() local204 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 …]
62 cricket::MediaEngineDependencies media_deps; in CreatePeerConnectionFactory() local63 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()
184 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));
167 cricket::MediaEngineDependencies media_deps; in CreateMediaEngine() local168 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()
122 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));
162 cricket::MediaEngineDependencies media_deps; in CreatePeerConnectionFactory() local163 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()
53 cricket::MediaEngineDependencies media_deps; in PeerConnectionFactoryForJsepTest() local54 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()
636 cricket::MediaEngineDependencies media_deps; in Init() local637 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()
649 cricket::MediaEngineDependencies media_deps; in CreatePeerConnectionFactoryForTest() local650 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()