Setup error with RTSP stream
I have a RTSP stream working perfectly fine in VLC and with the home assistant generic camera. When using this, i get a "stream: Wrong response on SETUP" error.
I'm getting the same issues. Not sure which update it was, but I started having problems when the go2rtc panel in HA updated its UX. Whenever ANY update comes in that requires an update forcing me to restart HA, I have to reboot all my cameras then open the go2rtc panel and click stream and open each camera into a separate tab. Sometimes I get an error but if one camera connects and starts streaming, I can usually refresh the rest and they all stream. Once those are up, then I can go into my Camera dash tab and refresh. Once all those are up and running, I can close out all the stream tabs.
Observation, if there is at least one connection from a device on my network for each camera, then all devices work for all cameras. If all devices loose connection with the cameras (all online counts zero), then all I get are errors. If I spam refresh enough on a dash with a bunch of cameras, I will occasionally get maybe one or two cameras to come up.
Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input, rtsp://yadda@yadda/Preview_09_sub)
This error appears in both my system logs and on camera cards.
Before the update, my config was rock solid. Zero issues. No config changes or dash card changes for over 6 months. The issue is with the recent updates, not with my local code.
Separate UX issue, dark mode doesn't work correctly.
@gummiangler you should use go2rtc. Increase log level for rtsp module to trace. And check your camera ouput.
@Dyaxler your error not from this integration or go2rtc. It's from default stream integration.
Yeah, I thought so too... so I went with a barebones config and took out all the ffmpeg stuff and went to a raw RTSP stream. Same issue... although the error is a little different now. 9 cameras - 4 different models. Reolink integration works fine. I can stream any of the Fluent and Clear. VLC works with each stream. Technically the only thing that doesn't work are the go2rtc streams and any of my dash cams or popup streams (TV and Remote Assist Sats I built) don't work.
The ONLY work around I could find is to go into the go2rtc panel and open 9 tabs using the "stream" link under commands. Once all 9 tabs are streaming (sometimes I have to hit CTRL+SHIFT+R multiple times to get it to stream) and it says 1 / info / probe / net - only then can I refresh my HA dash, Kiosk dashes and everything works fine.
Error from stream worker: Error demuxing stream (ERRORTYPE_110, Operation timed out, rtsp://****:****@
Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input, rtsp://****:****@
go2rtc config:
Camera card:
type: custom:webrtc-camera
streams:
- url: Shop-Outside
mode: webrtc
name: 🎙️
- url: Shop-Outside
mode: webrtc
media: video,microphone
name: 🔴
ui: true
muted: true
background: true
style: >
video {aspect-ratio: 16/9; object-fit: 100%;} .mode {display: none}
.screenshot {display: none}
...other camera controls not relevant
Dashboard:
Not sure what else to share... or do at this point except wait for another update and hope it gets fixed.
Other than going back to a raw RTSP stream... nothing has changed and it's all been working just fine till this point.
I think this might be a bug... shot in the dark I removed my camera entry "Backyard - Shed" from the go2rtc config. Saved and restarted it. My dashboard IMMEDIATELY refreshed and popped up nice and snappy like it should...
My Backyard - Shed is a solar powered, battery-operated camera and for the past several days there hasn't been enough sun to "wake it back up". Batteries have been dead...
Not sure who's issue that would belong to...