Fix HA IP address and WebRTC port inferring (#5209)

* Fix HA IP address and WebRTC port inferring

* Add note for when candidates aren't being injected
This commit is contained in:
Felipe Santos
2023-01-24 10:26:16 -03:00
committed by GitHub
parent edbdbb7f07
commit 2f3e046130
2 changed files with 4 additions and 2 deletions

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