Open friggeri opened 6 months ago
As titled, if I put the IP address in the config, go2rtc is able to find the rtsp stream, however using [hostname].local doesn't work. Note that avahi-daemon is running and I am able to ping that hostname from that machine.
Minimal repro config:
streams: patio: - rtsp://admin:FsA6LbqDMA@AMC046169CA67A5CDE.local:554/live log: format: "text" level: "debug"
Logs trying to pull up the stream:
23:52:28.668 INF go2rtc version 1.8.5 linux/amd64 23:52:28.668 INF [rtsp] listen addr=:8554 23:52:28.668 INF [api] listen addr=:1984 23:52:28.668 INF [webrtc] listen addr=:8555 23:52:28.668 DBG [hass] can't import config: open .storage/core.config_entries: no such file or directory 23:52:50.199 DBG [webrtc] new consumer src=patio 23:52:50.281 DBG [webrtc] add consumer error="streams: dial tcp: lookup AMC046169CA67A5CDE.local on 127.0.0.53:53: server misbehaving" 23:52:50.464 DBG [streams] can't stop none producer 23:52:50.464 DBG [streams] can't stop none producer 23:52:50.464 DBG [mp4] add consumer error="streams: dial tcp: lookup AMC046169CA67A5CDE.local on 127.0.0.53:53: server misbehaving" 23:52:50.516 DBG [streams] can't stop none producer 23:52:50.516 ERR github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:166 > error="streams: dial tcp: lookup AMC046169CA67A5CDE.local on 127.0.0.53:53: server misbehaving"
Any thoughts?
You need to start with how go2rtc is installed
Hello. I have the same issue. I’m using the binary version of go2rtc on linux (debian).
So your linux should have same problems. App uses system DNS mechanics
As titled, if I put the IP address in the config, go2rtc is able to find the rtsp stream, however using [hostname].local doesn't work. Note that avahi-daemon is running and I am able to ping that hostname from that machine.
Minimal repro config:
Logs trying to pull up the stream:
Any thoughts?