Output as json instead of yaml

This commit is contained in:
Nick Mowen 2023-01-15 17:46:47 -07:00
parent d7ee22de9d
commit 4ff1a9216f

View File

@ -27,4 +27,4 @@ if not go2rtc_config.get("log", {}).get("format"):
if not go2rtc_config.get("webrtc", {}).get("candidates", []):
go2rtc_config["webrtc"] = {"candidates": ["stun:8555"]}
print(yaml.dump(go2rtc_config, default_flow_style=False))
print(json.dumps(go2rtc_config))