summaryrefslogtreecommitdiff
path: root/app/webrtc/test/peerconnectiontestwrapper.cc
diff options
context:
space:
mode:
authormallinath@webrtc.org <mallinath@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-02-14 00:56:12 +0000
committermallinath@webrtc.org <mallinath@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-02-14 00:56:12 +0000
commitf5e5b3a9ce372d0e3cc594bf0036dda64a57d81d (patch)
treeaa031bd79d5358a49ad97f8b4b9c573f93c8e73e /app/webrtc/test/peerconnectiontestwrapper.cc
parent8a77f5bd83ba9386c19ff92f277c7268c1e9ef4a (diff)
downloadtalk-f5e5b3a9ce372d0e3cc594bf0036dda64a57d81d.tar.gz
Update talk to 61549749.
TBR=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/8709004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@5549 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'app/webrtc/test/peerconnectiontestwrapper.cc')
-rw-r--r--app/webrtc/test/peerconnectiontestwrapper.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/webrtc/test/peerconnectiontestwrapper.cc b/app/webrtc/test/peerconnectiontestwrapper.cc
index 91b6668..ca4b6d2 100644
--- a/app/webrtc/test/peerconnectiontestwrapper.cc
+++ b/app/webrtc/test/peerconnectiontestwrapper.cc
@@ -204,7 +204,9 @@ void PeerConnectionTestWrapper::WaitForConnection() {
bool PeerConnectionTestWrapper::CheckForConnection() {
return (peer_connection_->ice_connection_state() ==
- PeerConnectionInterface::kIceConnectionConnected);
+ PeerConnectionInterface::kIceConnectionConnected) ||
+ (peer_connection_->ice_connection_state() ==
+ PeerConnectionInterface::kIceConnectionCompleted);
}
void PeerConnectionTestWrapper::WaitForAudio() {