diff --git a/docker/main/rootfs/usr/local/go2rtc/create_config.py b/docker/main/rootfs/usr/local/go2rtc/create_config.py index 7be440842..b6e40aa61 100644 --- a/docker/main/rootfs/usr/local/go2rtc/create_config.py +++ b/docker/main/rootfs/usr/local/go2rtc/create_config.py @@ -59,7 +59,7 @@ elif go2rtc_config["log"].get("format") is None: go2rtc_config["log"]["format"] = "text" # ensure there is a default webrtc config -if not go2rtc_config.get("webrtc", {}).get("candidates", []): +if not go2rtc_config.get("webrtc"): go2rtc_config["webrtc"] = {} # go2rtc should listen on 5000 tcp & udp by default