A static file is not a template

This commit is contained in:
Yohann D'ANELLO 2020-11-09 16:40:43 +01:00
parent d334556d2b
commit 5ad8a69c4c
1 changed files with 2 additions and 2 deletions

View File

@ -41,13 +41,13 @@ export function initViewerPage(stream, viewersCounterRefreshPeriod, posterUrl) {
expandFullScreenUI: true,
sources: [
{
"file": "wss://" + window.location.host + "/app/{{.Path}}",
"file": "wss://" + window.location.host + "/app/" + stream,
"type": "webrtc",
"label": " WebRTC - Source"
},
{
"type": "hls",
"file": "https://" + window.location.host + "/app/{{.Path}}_bypass/playlist.m3u8",
"file": "https://" + window.location.host + "/app/" + stream + "_bypass/playlist.m3u8",
"label": " HLS"
}
]