fix to birdseye connection

This commit is contained in:
Blake Blackshear 2021-06-09 07:42:29 -05:00
parent c70419bd0b
commit 61f717daa3

View File

@ -15,7 +15,7 @@
<script type="text/javascript" src="jsmpeg.min.js"></script> <script type="text/javascript" src="jsmpeg.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
var canvas = document.getElementById('video-canvas'); var canvas = document.getElementById('video-canvas');
var url = 'ws://'+document.location.hostname+':8084/'; var url = 'ws://'+document.location.hostname+':5000/live/birdseye';
var player = new JSMpeg.Player(url, {canvas: canvas, protocols: []}); var player = new JSMpeg.Player(url, {canvas: canvas, protocols: []});
</script> </script>
</body> </body>