Fixed nodestream client

Esse commit está contido em:
Laurent Eschenauer
2013-05-20 21:25:00 +02:00
commit 6338d5e416
@@ -1194,9 +1194,7 @@ var FilterWebGLCanvas = (function () {
var port = options.port ? options.port : window.document.location.port;
socket = new WebSocket(
'ws://' +
window.document.location.hostname + ':' +
window.document.location.port + '/dronestream'
'ws://' + hostname + ':' + port + '/dronestream'
);
socket.binaryType = 'arraybuffer';
socket.onmessage = handleNalUnits;