video preview page

This commit is contained in:
2026-07-03 17:07:55 +05:00
parent 11a4f9d03a
commit 495651379a
2 changed files with 7 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
<body>
<video id="v" controls autoplay muted style="width:100%"></video>
<script>
const wsUrl = `ws://${location.hostname}:9090`
const wsUrl = `ws://194.36.208.86:9090` // TODO use custom domain name
const player = mpegts.createPlayer(
{ type: 'mpegts', isLive: true, url: wsUrl },
{ liveBufferLatencyChasing: true, liveBufferLatencyMaxLatency: 1.5 }

View File

@@ -23,6 +23,12 @@ services:
CLOUD_INGEST_API_KEY: ${CLOUD_INGEST_API_KEY:-}
DEMO_CLOUD_INGEST_URL: ${DEMO_CLOUD_INGEST_URL:-}
EDGE5_MODBUS_V2_MAPPING_FILE: ${EDGE5_MODBUS_V2_MAPPING_FILE:-/app/src/mappings/edge5-modbus.json}
networks:
- proxy
volumes:
mosquitto_data:
networks:
proxy:
external: true