Home
last modified time | relevance | path

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

/external/webrtc/webrtc/examples/peerconnection/client/
Dconductor.cc65 ASSERT(peer_connection_.get() == NULL); in ~Conductor()
69 return peer_connection_.get() != NULL; in connection_active()
79 ASSERT(peer_connection_.get() == NULL); in InitializePeerConnection()
96 return peer_connection_.get() != NULL; in InitializePeerConnection()
102 peer_connection_->local_streams()); in ReinitializePeerConnectionForLoopback()
103 peer_connection_ = NULL; in ReinitializePeerConnectionForLoopback()
106 peer_connection_->AddStream(streams->at(i)); in ReinitializePeerConnectionForLoopback()
107 peer_connection_->CreateOffer(this, NULL); in ReinitializePeerConnectionForLoopback()
109 return peer_connection_.get() != NULL; in ReinitializePeerConnectionForLoopback()
114 ASSERT(peer_connection_.get() == NULL); in CreatePeerConnection()
[all …]
Dconductor.h118 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; variable
/external/webrtc/talk/app/webrtc/test/
Dpeerconnectiontestwrapper.cc98 peer_connection_ = peer_connection_factory_->CreatePeerConnection( in CreatePc()
102 return peer_connection_.get() != NULL; in CreatePc()
109 return peer_connection_->CreateDataChannel(label, &init); in CreateDataChannel()
157 peer_connection_->CreateOffer(this, constraints); in CreateOffer()
164 peer_connection_->CreateAnswer(this, constraints); in CreateAnswer()
184 peer_connection_->SetLocalDescription( in SetLocalDescription()
196 peer_connection_->SetRemoteDescription( in SetRemoteDescription()
205 EXPECT_TRUE(peer_connection_->AddIceCandidate(owned_candidate.get())); in AddIceCandidate()
221 return (peer_connection_->ice_connection_state() == in CheckForConnection()
223 (peer_connection_->ice_connection_state() == in CheckForConnection()
[all …]
Dpeerconnectiontestwrapper.h108 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; variable
/external/webrtc/talk/app/webrtc/
Dpeerconnection_unittest.cc437 webrtc::PeerConnectionInterface* pc() { return peer_connection_.get(); } in pc()
509 EXPECT_TRUE(peer_connection_->CreateDtmfSender(nullptr) == nullptr); in VerifyDtmf()
512 EXPECT_TRUE(peer_connection_->CreateDtmfSender(non_localtrack) == nullptr); in VerifyDtmf()
516 peer_connection_->local_streams()->at(0)->GetAudioTracks()[0]; in VerifyDtmf()
517 dtmf_sender = peer_connection_->CreateDtmfSender(localtrack); in VerifyDtmf()
541 ASSERT_TRUE(peer_connection_->remote_description() != nullptr); in VerifyRejectedMediaInSessionDescription()
542 ASSERT_TRUE(peer_connection_->local_description() != nullptr); in VerifyRejectedMediaInSessionDescription()
544 peer_connection_->remote_description()->description(); in VerifyRejectedMediaInSessionDescription()
546 peer_connection_->local_description()->description(); in VerifyRejectedMediaInSessionDescription()
564 ASSERT_TRUE(peer_connection_->local_description() != nullptr); in VerifyLocalIceUfragAndPassword()
[all …]