Thanks. I don’t think the issue is with the setup or login because if I remove stream: . the camera works perfect, good image and 60 fps on the video. (not streamable and no media player) . I also use the same streaming url for ffmpeg and vlc which works.
Try removing the curly braces in stream_source. If still no luck, try again when 0.90.1 is released. There might be some more detailed logs at that point.
You are correct. I removed the {} and I got more logs.
2019-03-21 15:21:09 INFO (MainThread) [homeassistant.components.stream] Started stream: rtsp://user2:[email protected]:554/cam/realmonitor?channel=2&subtype=00&authbasic=dXNlcjI6cGFzc3dv
dafang still_image works fine if you use the template from their github. I had to add the username, password, authentication type, and verify_ssl=false
For UniFi cams on the UniFi NVR some additional info:
On a Raspberry Pi running HassOS you will have issues streaming the full 1920x1080 stream. Even the 1024x576 stream is at times too much for the Pi to handle. Currently the 640x360 stream works “best” but needs to be adjusted in the NVR so it has more than the default 200kbps bitrate.
I have tested the streams successfully using 500kbps bitrates, 15FPS and 360p on a Raspberry Pi. When you have more beefy hardware the higher res streams should be fine.
The stream works fine for me for Dafang but there is alot of distortion now and then in the stream. What video settings do you Dafang user use have for your camera(s)?
I have the live stream_source working but not the still_image. Not even sure im doing it right to be honest Anyway one question i do have, i dont hear the audio from the stream through lovelace front end. Is audio supported? the volume control is shown and i have turned up to max and tried mute button etc.
Has anyone been able to get Foscam to work? I set up as a generic Cam and used the /videoMain path for the stream source, but I just get demux errors in my log when I try to play the stream. The actual camera tile works ok which I think is using the still image url.
Can’t post config at the moment but I do have the correct path for the rtsp feed (it plays ok in VLC).
Edit: nevermind seems to work in .90.1. Will post working config for everyone later today.