Home
last modified time | relevance | path

Searched refs:peer_connection_ (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/examples/peerconnection/client/
Dconductor.cc117 RTC_DCHECK(!peer_connection_); in ~Conductor()
121 return peer_connection_ != nullptr; in connection_active()
131 RTC_DCHECK(!peer_connection_); in InitializePeerConnection()
156 return peer_connection_ != nullptr; in InitializePeerConnection()
162 peer_connection_->GetSenders(); in ReinitializePeerConnectionForLoopback()
163 peer_connection_ = nullptr; in ReinitializePeerConnectionForLoopback()
166 peer_connection_->AddTrack(sender->track(), sender->stream_ids()); in ReinitializePeerConnectionForLoopback()
168 peer_connection_->CreateOffer( in ReinitializePeerConnectionForLoopback()
171 return peer_connection_ != nullptr; in ReinitializePeerConnectionForLoopback()
176 RTC_DCHECK(!peer_connection_); in CreatePeerConnection()
[all …]
Dconductor.h125 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; variable
/external/webrtc/pc/test/
Dpeer_connection_test_wrapper.cc126 peer_connection_ = peer_connection_factory_->CreatePeerConnection( in CreatePc()
129 return peer_connection_.get() != NULL; in CreatePc()
136 return peer_connection_->CreateDataChannel(label, &init); in CreateDataChannel()
198 peer_connection_->CreateOffer(this, options); in CreateOffer()
206 peer_connection_->CreateAnswer(this, options); in CreateAnswer()
226 peer_connection_->SetLocalDescription( in SetLocalDescription()
238 peer_connection_->SetRemoteDescription( in SetRemoteDescription()
247 EXPECT_TRUE(peer_connection_->AddIceCandidate(owned_candidate.get())); in AddIceCandidate()
262 return (peer_connection_->ice_connection_state() == in CheckForConnection()
264 (peer_connection_->ice_connection_state() == in CheckForConnection()
[all …]
Dpeer_connection_test_wrapper.h56 webrtc::PeerConnectionInterface* pc() { return peer_connection_.get(); } in pc()
124 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; variable
/external/webrtc/test/peer_scenario/
Dpeer_scenario_client.cc179 peer_connection_->current_remote_description()) { in PeerScenarioClient()
181 RTC_CHECK(peer_connection_->AddIceCandidate(candidate.get())); in PeerScenarioClient()
239 peer_connection_ = in PeerScenarioClient()
242 peer_connection_->StartRtcEventLog(log_writer_factory_->Create(".rtc.dat"), in PeerScenarioClient()
260 res.sender = peer_connection_->AddTrack(track, {kCommonStreamId}).value(); in CreateAudio()
278 res.sender = peer_connection_->AddTrack(track, {kCommonStreamId}).MoveValue(); in CreateVideo()
292 peer_connection_->CreateOffer( in CreateAndSetSdp()
298 peer_connection_->SetLocalDescription( in CreateAndSetSdp()
316 peer_connection_->SetRemoteDescription( in SetSdpOfferAndGetAnswer()
320 peer_connection_->CreateAnswer( in SetSdpOfferAndGetAnswer()
[all …]
Dpeer_scenario_client.h121 return peer_connection_.get(); in pc()
166 rtc::scoped_refptr<PeerConnectionInterface> peer_connection_
/external/webrtc/examples/unityplugin/
Dsimple_peer_connection.cc122 RTC_DCHECK(peer_connection_.get() == nullptr); in InitializePeerConnection()
154 return peer_connection_.get() != nullptr; in InitializePeerConnection()
162 RTC_DCHECK(peer_connection_.get() == nullptr); in CreatePeerConnection()
196 peer_connection_ = g_peer_connection_factory->CreatePeerConnection( in CreatePeerConnection()
199 return peer_connection_.get() != nullptr; in CreatePeerConnection()
221 peer_connection_ = nullptr; in DeletePeerConnection()
232 if (!peer_connection_.get()) in CreateOffer()
240 peer_connection_->CreateOffer(this, options); in CreateOffer()
245 if (!peer_connection_.get()) in CreateAnswer()
253 peer_connection_->CreateAnswer(this, options); in CreateAnswer()
[all …]
Dsimple_peer_connection.h107 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_;
/external/webrtc/sdk/objc/api/peerconnection/
DRTCPeerConnection.mm111 peer_connection_ = peerConnection;
115 peer_connection_ = nil;
122 RTC_OBJC_TYPE(RTCPeerConnection) *peer_connection = peer_connection_;
129 RTC_OBJC_TYPE(RTCPeerConnection) *peer_connection = peer_connection_;
139 RTC_OBJC_TYPE(RTCPeerConnection) *peer_connection = peer_connection_;
150 RTC_OBJC_TYPE(RTCPeerConnection) *peer_connection = peer_connection_;
163 RTC_OBJC_TYPE(RTCPeerConnection) *peer_connection = peer_connection_;
172 RTC_OBJC_TYPE(RTCPeerConnection) *peer_connection = peer_connection_;
180 [peer_connection_.delegate peerConnection:peer_connection_ didChangeIceConnectionState:state];
185 if ([peer_connection_.delegate
[all …]
DRTCPeerConnection+Private.h61 __weak RTC_OBJC_TYPE(RTCPeerConnection) * peer_connection_;
/external/webrtc/sdk/android/src/jni/pc/
Dpeer_connection.h121 PeerConnectionInterface* pc() const { return peer_connection_.get(); } in pc()
125 rtc::scoped_refptr<PeerConnectionInterface> peer_connection_;
Dpeer_connection.cc451 : peer_connection_(peer_connection), in OwnedPeerConnection()
457 peer_connection_ = nullptr; in ~OwnedPeerConnection()
/external/webrtc/pc/
Dpeer_connection_integrationtest.cc229 webrtc::PeerConnectionInterface* pc() const { return peer_connection_.get(); } in pc()
439 EXPECT_TRUE(peer_connection_->GetStats( in OldGetStatsForTrack()
455 peer_connection_->GetStats(callback); in NewGetStats()
615 RTC_DCHECK(!peer_connection_); in Init()
680 peer_connection_ = CreatePeerConnection(config, std::move(dependencies)); in Init()
681 return peer_connection_.get() != nullptr; in Init()
1017 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; member in webrtc::__anonb00edc420111::PeerConnectionWrapper