pull/1/merge
doodeck 2015-03-09 06:15:04 +00:00
commit d9c740939f
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ function pageReady() {
localVideo = document.getElementById('localVideo'); localVideo = document.getElementById('localVideo');
remoteVideo = document.getElementById('remoteVideo'); remoteVideo = document.getElementById('remoteVideo');
serverConnection = new WebSocket('ws://127.0.0.1:3434'); serverConnection = new WebSocket('ws://' + window.location.hostname + ':3434');
serverConnection.onmessage = gotMessageFromServer; serverConnection.onmessage = gotMessageFromServer;
var constraints = { var constraints = {