resoai / TileBoard

A simple yet highly configurable Dashboard for HomeAssistant
MIT License
1.63k stars 278 forks source link

Camera Stream doesn't work (v2.3.0) #688

Closed radimnemecek closed 3 years ago

radimnemecek commented 3 years ago

On the first page I have a stream from the camera. When I switch to another page and then go back to the first, stream doesn't work. The console in chome shows an error:

hls.js: 4264 Uncaught (in promise) DOMException: The play () request was interrupted by a new load request.

I always have to reload the whole page. It used to work.

This is my setting:

[position: [0, 0],
id: "camera.sub",
type: TYPES.CAMERA_STREAM,
bgSize: "cover",
classes: ["-camera-tile"],
title: "",
width: 3,
height: 2,
state: false,
fullscreen: {
   type: TYPES.CAMERA_STREAM,
   objFit: 'contain',
   id: 'camera.main',
   bufferLength: 5
}]
rchl commented 3 years ago

Reported an issue upstream https://github.com/video-dev/hls.js/issues/3732