AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
4.63k stars 378 forks source link

Config reverting to default #1309

Open amoussa1229 opened 1 month ago

amoussa1229 commented 1 month ago

I have my go2rtc config setup and both it and Frigate are working well (I know this isn't the Frigate repo lol).

Whenever I have to shut down or reboot the machine, the go2rtc config reverts back to the default.

I apologize if there is any info I forgot to add, this is my first time posting on GitHub

Here's my go2rtc logs if needed

6:54:53.160 PM | info | go2rtc version=1.9.4 platform=linux/amd64 revision=a4885c2 6:54:53.160 PM | info | config path=/dev/shm/go2rtc.yaml 6:54:53.161 PM | info | [api] listen addr=:1984 6:54:53.161 PM | info | [rtsp] listen addr=:8554 6:54:53.162 PM | info | [webrtc] listen addr=:8555/tcp

AlexxIT commented 1 month ago

This config created by Frigate.

amoussa1229 commented 1 month ago

This config created by Frigate.

This wasn't. This was created myself and added, frigate would not add it automatically while i was setting up

AlexxIT commented 1 month ago

This config path=/dev/shm/go2rtc.yaml

b2un0 commented 1 month ago

to persist your go2rtc.yaml in your frigate container you must add your go2rtc config statements to the config.yaml from frigate as described in the documentation

do not edit the config via IP:1984 and make changes in the config there. you can only change them there temporarily.

if this then works, you have to transfer it to the config.yaml of frigate