diff --git a/api/lib/control/video-service.ts b/api/lib/control/video-service.ts index 71c4a3a9a..516e2f4ef 100644 --- a/api/lib/control/video-service.ts +++ b/api/lib/control/video-service.ts @@ -246,8 +246,8 @@ export default class VideoServiceControl { } if (c.config && c.config.hls) { - // Format: http://localhost:8888/mystream - const url = new URL(`/${lease.path}`, c.url); + // Format: http://localhost:8888/mystream/index.m3u8 + const url = new URL(`/${lease.path}/index.m3u8`, c.url); url.port = c.config.hlsAddress.replace(':', ''); protocols.hls = { diff --git a/api/web/src/components/Admin/VideoConfig.vue b/api/web/src/components/Admin/VideoConfig.vue index f9ffd90cc..106f089a9 100644 --- a/api/web/src/components/Admin/VideoConfig.vue +++ b/api/web/src/components/Admin/VideoConfig.vue @@ -1,60 +1,114 @@