forked from Github/frigate
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user