Merge 4bda280782 into 4b3e724988
commit
d9c740939f
|
|
@ -12,7 +12,7 @@ function pageReady() {
|
|||
localVideo = document.getElementById('localVideo');
|
||||
remoteVideo = document.getElementById('remoteVideo');
|
||||
|
||||
serverConnection = new WebSocket('ws://127.0.0.1:3434');
|
||||
serverConnection = new WebSocket('ws://' + window.location.hostname + ':3434');
|
||||
serverConnection.onmessage = gotMessageFromServer;
|
||||
|
||||
var constraints = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue