Add note for when candidates aren't being injected

This commit is contained in:
Felipe Santos 2023-01-23 10:59:38 -03:00
parent ead2790651
commit 0cbbfb469c

View File

@ -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):