Open maretodoric opened 3 days ago
Hey there @davet2001, mind taking a look at this issue as it has been labeled with an integration (generic
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
generic documentation generic source (message by IssueLinks)
Hi @maretodoric,
The first thing to say is that the image preview is a preview of whatever you have entered into the Still image URL box.
Currently only still images can be previewed. The stream has no preview, so the broken icon means nothing in relation to the stream.
What did you enter into the still image box? And does that display anything meaningful if you paste the URL into a browser?
A feature addition is in progress to show a preview of the stream:
Aaahhh, that makes sense... I just thought it should be a preview of the stream that is broken and I've never really opened it myself.
I did not enter anything into the 'still image box' as I'm honestly not aware of still image URL from Dahua. But if i just check the box that "This image looks good" and Submit - then open the camera entity - i can see my camera stream.
Thanks! That was not clear to me.
See also #118599 which you should find fixes the broken icon in your scenario from 2024.7.x+
The problem
Attempting to add RTSP stream from Dahua XVR works but only icon of a broken image appears after adding the camera.
Using the same URL:
rtsp://user:pass@192.168.0.250:554/cam/realmonitor?channel=2&subtype=0
works fine when i open it via VLC, proving that stream is indeed accessible.What version of Home Assistant Core has the issue?
core-2024.6.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Generic Camera
Link to integration documentation on our website
https://www.home-assistant.io/integrations/generic/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
This is an Analog camera but RTSP stream is served by XVR itself. As mentioned in
The Problem
section, it works when opened in VLC for example.