1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-27 23:52:16 +02:00

Add DASH player source for more compatibility

This commit is contained in:
Yohann D'ANELLO
2020-11-20 03:26:10 +01:00
parent 205c4b526c
commit 849196b4cb
3 changed files with 39 additions and 10 deletions

View File

@ -47,10 +47,20 @@ export function initViewerPage(stream, omeApp, viewersCounterRefreshPeriod, post
"label": " WebRTC - Source"
},
{
"type": "hls",
"file": "https://" + window.location.host + "/" + omeApp + "/" + stream + "_bypass/playlist.m3u8",
"type": "hls",
"label": " HLS"
}
},
{
"file": "https://" + window.location.host + "/" + omeApp + "/" + stream + "_bypass/manifest.mpd",
"type": "dash",
"label": "DASH"
},
{
"file": "https://" + window.location.host + "/" + omeApp + "/" + stream + "_bypass/manifest_ll.mpd",
"type": "dash",
"label": "LL-DASH"
},
]
});
player.on("stateChanged", function (data) {