Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
Dconductor.cc76 ASSERT(peer_connection_.get() == NULL); in ~Conductor()
80 return peer_connection_.get() != NULL; in connection_active()
90 ASSERT(peer_connection_.get() == NULL); in InitializePeerConnection()
105 peer_connection_ = peer_connection_factory_->CreatePeerConnection(servers, in InitializePeerConnection()
110 if (!peer_connection_.get()) { in InitializePeerConnection()
116 return peer_connection_.get() != NULL; in InitializePeerConnection()
120 peer_connection_ = NULL; in DeletePeerConnection()
129 ASSERT(peer_connection_.get() != NULL); in EnsureStreamingUI()
218 if (!peer_connection_.get()) { in OnMessageFromPeer()
257 peer_connection_->SetRemoteDescription( in OnMessageFromPeer()
[all …]
Dconductor.h133 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; variable
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
Dpeerconnectiontestwrapper.cc99 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.h116 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; variable
/external/chromium_org/remoting/host/
Dcast_extension_session.cc208 peer_connection_->SetLocalDescription( in OnCreateSessionDescription()
242 peer_connection_->RemoveStream(stream_.release()); in OnCreateVideoCapturer()
249 peer_connection_->CreateAnswer(create_session_desc_observer_, NULL); in OnCreateVideoCapturer()
341 DCHECK(peer_connection_.get() != NULL); in ParseAndSetRemoteDescription()
372 peer_connection_->SetRemoteDescription( in ParseAndSetRemoteDescription()
379 DCHECK(peer_connection_.get() != NULL); in ParseAndAddICECandidate()
405 if (!peer_connection_->AddIceCandidate(candidate.get())) { in ParseAndAddICECandidate()
474 DCHECK(!peer_connection_); in InitializePeerConnection()
508 peer_connection_ = peer_conn_factory_->CreatePeerConnection( in InitializePeerConnection()
511 if (!peer_connection_.get()) { in InitializePeerConnection()
[all …]
Dcast_extension_session.h199 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; variable
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dpeerconnection_unittest.cc160 static_cast<int>(peer_connection_->local_streams()->count())); in AddMediaStream()
182 EXPECT_TRUE(peer_connection_->AddStream(stream, NULL)); in AddMediaStream()
186 return peer_connection_->local_streams()->count(); in NumberOfLocalMediaStreams()
190 return peer_connection_->signaling_state() == in SessionActive()
245 EXPECT_TRUE(peer_connection_->CreateDtmfSender(NULL) == NULL); in VerifyDtmf()
249 EXPECT_TRUE(peer_connection_->CreateDtmfSender(non_localtrack) == NULL); in VerifyDtmf()
253 peer_connection_->local_streams()->at(0)->GetAudioTracks()[0]; in VerifyDtmf()
254 dtmf_sender = peer_connection_->CreateDtmfSender(localtrack); in VerifyDtmf()
278 ASSERT_TRUE(peer_connection_->remote_description() != NULL); in VerifyRejectedMediaInSessionDescription()
279 ASSERT_TRUE(peer_connection_->local_description() != NULL); in VerifyRejectedMediaInSessionDescription()
[all …]