diff --git a/client/index.html b/client/index.html index 8282b47..454583e 100755 --- a/client/index.html +++ b/client/index.html @@ -2,7 +2,7 @@ - + @@ -11,10 +11,6 @@
- - - + diff --git a/client/webrtc.js b/client/webrtc.js index 2925c43..6a98dea 100755 --- a/client/webrtc.js +++ b/client/webrtc.js @@ -19,6 +19,9 @@ var peerConnectionConfig = { }; function pageReady() { + document.querySelector("button#start") + .addEventListener("click", start); + uuid = createUUID(); localVideo = document.getElementById('localVideo'); @@ -129,3 +132,5 @@ function createUUID() { return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4(); } + +pageReady();