Closed jtsarnas76 closed 5 months ago
have you mapped port 8554 in your docker config?
services: go2rtc: image: alexxit/go2rtc network_mode: host privileged: true restart: unless-stopped environment:
RTSP link may have wrong hostname of your server. Check it manually.
You don't need port forward when you using network host
Not using a hostname, just local ip
Have you change rtsp section in go2rtc config or using all by default?
Here 's the config:
api:
listen: ":1984"
base_path: ""
static_dir: ""
origin: ""
ffmpeg:
bin: "ffmpeg"
global: "-hide_banner"
file: "-re -stream_loop -1 -i {input}"
http: "-fflags nobuffer -flags low_delay -i {input}"
rtsp: "-fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport tcp -i {input}"
output: "-user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
# ... different presets for codecs
hass:
config: ""
log:
format: ""
level: "info"
ngrok:
command: ""
rtsp:
listen: ":8554"
username: ""
password: ""
srtp:
listen: ":8443"
streams:
Front: rtsp://jtsarnas:zYowQe55hpQkBiT6@192.168.1.190:554/stream2
webrtc:
listen: ":8555"
candidates: []
ice_servers:
- urls: [ "stun:stun.l.google.com:19302" ]
username: ""
credential: ""
Getting somewhere!. Ran binary on a linux machine using the exact same config. Now the I could open the the rtsp links using celluloid but still not vlc.
So RTSP links works but don't work for VLC. I'll check
Please let me know if the problem is relevant
I m on docker version 1.1.1, in the links page, all stream.html links work, but none of the rtsp, at least in vlc. The camera's (Tapo C310) rtsp stream (rtsp://username:password@192.168.1.190:554/stream1) works ok. Any help?