Merge 4bda280782 into 4b3e724988
commit
d9c740939f
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue