go2rtc
go2rtc copied to clipboard
Added streams in go2rtc.yaml not showing in go2rtc addons dashboard
Hi Alex First of all I want to make it clear that I am using WebRTC without problems, but I have read that this addon will be a replacement in the future. Likewise, I am not understanding the README well, how to configure or configure it, as I see instead with SonoffLAN (totally clear and complete)
I have 2 problems that I couldn't solve:
- I have added as statements in go2rtc.yaml the streams of my 2 rtsp cameras, but then they do not appear in the addon panel I did this because the camera key appears in the URL
- Can the listening port be changed? I have put it in the yaml but it keeps listening to the api in 1984
Thank you very much and I hope I am not being too "dumb" by these questions.
Regards
go2rtc.yaml (the indent are ok)
> streams:
> comedor:
> - rtsp://xxxx:[email protected]:554
> calle:
> - rtsp://xxxx:[email protected]:554
>
> webrtc:
> listen: ":8555" # address of your local server (TCP)
> candidates:
> - stun:8555 # if you have dynamic public IP-address
>
> api:
> listen: "127.0.0.1:2000" # localhost
>
> log:
> rtsp: trace
>
Your config ok, but it may be in wrong place. Where you put it? Have you restart add-on after change config?
Hi Alex
I Put it on Home Assistant config folder, config/go2rtc.yaml, together configuration.yaml, automations.yaml, etc.
Directly restarted "HA"
Nothing happend
Thanks
EDIT: Now put error 502: Bad Gateway
You may have some YAML errors in config file.
You may have some YAML errors in config file.
No errors in config.yaml
Now I Test v0.1-alpha.10 and comment you Thanks
You can't test go2rtc.yaml
with option from screen.
You can't test
go2rtc.yaml
with option from screen.
okay I had misunderstood your message.
erasing the line api:
The "502: Bad Gateway" error no longer appears and the cameras can be seen fine. But when I add it, with whatever port I put in, I get "502" error
Show your config
Show your config
https://github.com/AlexxIT/go2rtc/issues/18#issue-1351591550
Check if you have errors in addon log with alpha.11
Is problem still relevant?
I am using current Linux binary and note that the go2rtc appears not to use the go2rtc.yaml stored in the binary's directory as per the instructions unless execution is from the directory. Maybe this is related. Is there a way to specify the yaml file from the command line?
I think app searching config in current work directory. It does not always match the application directory.
Thanks for that. Yep that is consistent with the observed behaviour.
Reopen the issue if it is still relevant