fix: correct go2rtc player URL — stream.html not root
This commit is contained in:
parent
0b5dc7d88e
commit
03448361da
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ function renderLiveGrid() {
|
|||
if (img) img.src = `/recordings/${cam.name || cam.id}/latest.jpg?t=${Date.now()}`;
|
||||
}, 3000);
|
||||
tile.addEventListener('click', () => {
|
||||
window.open(`http://${location.hostname}:1984/?src=${cam.id}_sub`, '_blank');
|
||||
window.open(`http://${location.hostname}:1984/stream.html?src=${cam.id}_sub`, '_blank');
|
||||
});
|
||||
} else {
|
||||
tile.innerHTML = '<span class="tile-placeholder">No Camera</span>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue