Update docker/rootfs/usr/local/go2rtc/create_config.py

This commit is contained in:
Felipe Santos 2023-01-17 11:45:53 -03:00 committed by GitHub
parent 2eb9f99288
commit 003926bc0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,4 +37,4 @@ if not go2rtc_config.get("webrtc", {}).get("candidates", []):
# Write YAML config to /dev/shm/go2rtc.yaml # Write YAML config to /dev/shm/go2rtc.yaml
with open("/dev/shm/go2rtc.yaml", "w") as f: with open("/dev/shm/go2rtc.yaml", "w") as f:
yaml.dump(config, f) yaml.dump(go2rtc_config, f)