diff --git a/docker/rootfs/usr/local/go2rtc/create_config.py b/docker/rootfs/usr/local/go2rtc/create_config.py index 4ba2cfbf6..624415633 100644 --- a/docker/rootfs/usr/local/go2rtc/create_config.py +++ b/docker/rootfs/usr/local/go2rtc/create_config.py @@ -2,6 +2,7 @@ import json import os +import sys import yaml @@ -40,6 +41,8 @@ if not go2rtc_config.get("webrtc", {}).get("candidates", []): default_candidates.append("stun:8555") go2rtc_config["webrtc"] = {"candidates": default_candidates} +else: + print("[INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually", file=sys.stderr) # need to replace ffmpeg command when using ffmpeg4 if not os.path.exists(BTBN_PATH):