From 0cbbfb469c3ecb59d52daae0ef582014c4b1097a Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Mon, 23 Jan 2023 10:59:38 -0300 Subject: [PATCH] Add note for when candidates aren't being injected --- docker/rootfs/usr/local/go2rtc/create_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/rootfs/usr/local/go2rtc/create_config.py b/docker/rootfs/usr/local/go2rtc/create_config.py index 4ba2cfbf6..39eb475bc 100644 --- a/docker/rootfs/usr/local/go2rtc/create_config.py +++ b/docker/rootfs/usr/local/go2rtc/create_config.py @@ -40,6 +40,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") # need to replace ffmpeg command when using ffmpeg4 if not os.path.exists(BTBN_PATH):