Home
last modified time | relevance | path

Searched refs:pc_factory (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/pc/
Dpeer_connection_header_extension_unittest.cc74 auto pc_factory = in CreatePeerConnection() local
83 auto pc = pc_factory->CreatePeerConnection( in CreatePeerConnection()
86 return std::make_unique<PeerConnectionWrapper>(pc_factory, pc, in CreatePeerConnection()
112 EXPECT_THAT(wrapper->pc_factory() in TEST_P()
118 EXPECT_EQ(wrapper->pc_factory() in TEST_P()
121 wrapper->pc_factory() in TEST_P()
Dpeer_connection_data_channel_unittest.cc158 rtc::scoped_refptr<PeerConnectionFactoryForDataChannelTest> pc_factory( in CreatePeerConnection() local
160 pc_factory->SetOptions(factory_options); in CreatePeerConnection()
161 RTC_CHECK(pc_factory->Initialize()); in CreatePeerConnection()
165 auto pc = pc_factory->CreatePeerConnection(modified_config, nullptr, in CreatePeerConnection()
173 pc_factory, pc, std::move(observer)); in CreatePeerConnection()
174 RTC_DCHECK(pc_factory->last_fake_sctp_transport_factory_); in CreatePeerConnection()
176 pc_factory->last_fake_sctp_transport_factory_); in CreatePeerConnection()
Dpeer_connection_wrapper.cc39 rtc::scoped_refptr<PeerConnectionFactoryInterface> pc_factory, in PeerConnectionWrapper() argument
42 : pc_factory_(std::move(pc_factory)), in PeerConnectionWrapper()
53 PeerConnectionFactoryInterface* PeerConnectionWrapper::pc_factory() { in pc_factory() function in webrtc::PeerConnectionWrapper
277 return pc_factory()->CreateAudioTrack(label, nullptr); in CreateAudioTrack()
282 return pc_factory()->CreateVideoTrack(label, FakeVideoTrackSource::Create()); in CreateVideoTrack()
Dpeer_connection_rampup_tests.cc102 rtc::scoped_refptr<PeerConnectionFactoryInterface> pc_factory, in PeerConnectionWrapperForRampUpTest() argument
105 : PeerConnectionWrapper::PeerConnectionWrapper(pc_factory, in PeerConnectionWrapperForRampUpTest()
127 pc_factory()->CreateVideoTrack(rtc::CreateRandomUuid(), in CreateLocalVideoTrack()
134 pc_factory()->CreateAudioSource(options); in CreateLocalAudioTrack()
135 return pc_factory()->CreateAudioTrack(rtc::CreateRandomUuid(), source); in CreateLocalAudioTrack()
Dpeer_connection_factory.cc54 rtc::scoped_refptr<PeerConnectionFactory> pc_factory( in CreateModularPeerConnectionFactory() local
60 pc_factory.get(), &PeerConnectionFactory::Initialize); in CreateModularPeerConnectionFactory()
61 bool result = call.Marshal(RTC_FROM_HERE, pc_factory->signaling_thread()); in CreateModularPeerConnectionFactory()
66 return PeerConnectionFactoryProxy::Create(pc_factory->signaling_thread(), in CreateModularPeerConnectionFactory()
67 pc_factory); in CreateModularPeerConnectionFactory()
Dpeer_connection_media_unittest.cc104 auto pc_factory = in CreatePeerConnection() local
112 auto pc = pc_factory->CreatePeerConnection(modified_config, in CreatePeerConnection()
121 pc_factory, pc, std::move(observer)); in CreatePeerConnection()
1286 auto capabilities = caller->pc_factory()->GetRtpSenderCapabilities( in TEST_F()
1309 auto capabilities = caller->pc_factory()->GetRtpReceiverCapabilities( in TEST_F()
1328 caller->pc_factory() in TEST_F()
1332 caller->pc_factory() in TEST_F()
1358 caller->pc_factory() in TEST_F()
1379 caller->pc_factory() in TEST_F()
1401 caller->pc_factory() in TEST_F()
[all …]
Dpeer_connection_wrapper.h54 rtc::scoped_refptr<PeerConnectionFactoryInterface> pc_factory,
59 PeerConnectionFactoryInterface* pc_factory();
Dpeer_connection_adaptation_integrationtest.cc109 CreateTrackWithPeriodicSource(caller_wrapper->pc_factory()); in TEST_F()
142 CreateTrackWithPeriodicSource(caller_wrapper->pc_factory()); in TEST_F()
Dpeer_connection_histogram_unittest.cc338 rtc::scoped_refptr<PeerConnectionFactoryForUsageHistogramTest> pc_factory( in CreatePeerConnection() local
340 pc_factory->SetOptions(factory_options); in CreatePeerConnection()
341 RTC_CHECK(pc_factory->Initialize()); in CreatePeerConnection()
343 pc_factory->ReturnHistogramVeryQuickly(); in CreatePeerConnection()
358 auto pc = pc_factory->CreatePeerConnection(config, std::move(deps)); in CreatePeerConnection()
365 pc_factory, pc, std::move(observer)); in CreatePeerConnection()
Dpeer_connection_jsep_unittest.cc87 rtc::scoped_refptr<PeerConnectionFactory> pc_factory( in CreatePeerConnection() local
89 RTC_CHECK(pc_factory->Initialize()); in CreatePeerConnection()
91 auto pc = pc_factory->CreatePeerConnection(config, nullptr, nullptr, in CreatePeerConnection()
98 return std::make_unique<PeerConnectionWrapper>(pc_factory, pc, in CreatePeerConnection()
Dpeer_connection_interface_unittest.cc1375 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory( in TEST_P() local
1385 pc_factory->CreatePeerConnection(config, std::move(port_allocator), in TEST_P()
Dpeer_connection_integrationtest.cc225 webrtc::PeerConnectionFactoryInterface* pc_factory() const { in pc_factory() function in webrtc::__anonb00edc420111::PeerConnectionWrapper
/external/webrtc/test/pc/e2e/
Dtest_peer.h36 PeerConnectionFactoryInterface* pc_factory() { in pc_factory() function
37 return wrapper_->pc_factory(); in pc_factory()
101 TestPeer(rtc::scoped_refptr<PeerConnectionFactoryInterface> pc_factory,
Dtest_peer.cc41 rtc::scoped_refptr<PeerConnectionFactoryInterface> pc_factory, in TestPeer() argument
49 wrapper_(std::make_unique<PeerConnectionWrapper>(std::move(pc_factory), in TestPeer()
Dpeer_connection_quality_test.cc519 peer->pc_factory() in SetPeerCodecPreferences()
526 peer->pc_factory() in SetPeerCodecPreferences()
/external/webrtc/test/pc/e2e/media/
Dmedia_helper.cc41 peer->pc_factory()->CreateAudioSource(audio_config.audio_options); in MaybeAddAudio()
43 peer->pc_factory()->CreateAudioTrack(*audio_config.stream_label, source); in MaybeAddAudio()
73 peer->pc_factory()->CreateVideoTrack(video_config.stream_label.value(), in MaybeAddVideo()
/external/webrtc/pc/test/
Dpeer_connection_test_wrapper.h52 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> pc_factory() in pc_factory() function