//if (mediaSource.Path.startsWith("http") && localStorage.getItem(lsKeys.strmDirect) === "1") {
//streamUrl = decodeURIComponent(mediaSource.Path);
if (**mediaSource && mediaSource.Path &&** mediaSource.Path.startsWith("http") && localStorage.getItem(lsKeys.strmDirect) === "1") {
streamUrl = decodeURIComponent(mediaSource.Path);
} else {
let fileName = mediaSource.IsInfiniteStream ? **`live**.m3u8` : decodeURIComponent(mediaSource.Path.replace(fileNameReg, ""));
直播地址需要PlaySessionId才能播放。需要修改system\dashboard-ui\modules\common\playback\playbackmanager.js,要么你点击播放后再复制地址,所以还是很麻烦的。
直播地址需要PlaySessionId才能播放。需要修改system\dashboard-ui\modules\common\playback\playbackmanager.js,要么你点击播放后再复制地址,所以还是很麻烦的。