Hi world
I have a VSTARCAM camera. I’m struggling to integrate it within HA. I checked that it can be opened with external progs: Onviff Device Manager: open it and I can open also the rtsp stream with ffmpeg from my computer using ffmpeg -i rtsp://user:[email protected]:10554/udp/av0_0 -an -f null -
I try to add the camero to HA as an RTSP stream (generic cameraà. The image is in general fixed. However, if I when I open the stream entity, each time the entity is opened, the (fixed) image is new. So it refresh every time the entity is “opened”.
I also tried to add it as an onvif device. I observe the same issue (fixed image, refresh only once when I open the stream).
I recorded a log file using the generic camera:
onProgress (src/loader/fragment-loader.ts:222:10)
2024-03-30 12:10:09.087 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.ipcamera_stream0] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsp://:@192.168.1.52:10554/tcp/av0_0
2024-03-30 12:10:09.305 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.ipcamera_stream1] Error from stream worker: Stream ended; no additional packets
Is there any way to fix this issue ?
It works fine as an ONVIF device when using other programs (Onviff device manager).