mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Fix bug
This commit is contained in:
parent
c4564599c2
commit
aba9b1fd30
@ -25,7 +25,7 @@ if not go2rtc_config.get("log", {}).get("format"):
|
|||||||
go2rtc_config["log"] = {"format": "text"}
|
go2rtc_config["log"] = {"format": "text"}
|
||||||
|
|
||||||
if not go2rtc_config.get("webrtc", {}).get("candidates", []):
|
if not go2rtc_config.get("webrtc", {}).get("candidates", []):
|
||||||
go2rtc_config["webrtc"] = {"candidates", ["stun:8555"]}
|
go2rtc_config["webrtc"] = {"candidates": ["stun:8555"]}
|
||||||
|
|
||||||
with open('/usr/local/go2rtc/bin/config.yaml', 'w') as yaml_file:
|
with open('/usr/local/go2rtc/bin/config.yaml', 'w') as yaml_file:
|
||||||
yaml.dump(go2rtc_config, yaml_file)
|
yaml.dump(go2rtc_config, yaml_file)
|
||||||
Loading…
Reference in New Issue
Block a user