Index: remoting/webapp/crd/js/host_screen.js |
diff --git a/remoting/webapp/crd/js/host_screen.js b/remoting/webapp/crd/js/host_screen.js |
index c4f2ac193792a1e7a862bb73627e9bf64e0b1d39..3cfaa267e117a453a7dc2d38edc58e9efb310ad5 100644 |
--- a/remoting/webapp/crd/js/host_screen.js |
+++ b/remoting/webapp/crd/js/host_screen.js |
@@ -170,6 +170,11 @@ function onHostStateChanged_(state) { |
remoting.cancelShare(); |
} |
+ } else if (state == remoting.HostSession.State.CONNECTING) { |
+ console.log('Host state: CONNECTING'); |
+ remoting.setMode(remoting.AppMode.HOST_WAITING_FOR_ACCEPT); |
+ disableTimeoutCountdown_(); |
+ |
} else if (state == remoting.HostSession.State.CONNECTED) { |
console.log('Host state: CONNECTED'); |
var element = document.getElementById('host-shared-message'); |