mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-19 19:06:16 +01:00
Print webrtc info to stderr (#5227)
* Update create_config.py * Print to stderr
This commit is contained in:
parent
9ddcf7b1fe
commit
f54b223adf
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
|
|
||||||
@ -41,7 +42,7 @@ if not go2rtc_config.get("webrtc", {}).get("candidates", []):
|
|||||||
|
|
||||||
go2rtc_config["webrtc"] = {"candidates": default_candidates}
|
go2rtc_config["webrtc"] = {"candidates": default_candidates}
|
||||||
else:
|
else:
|
||||||
print("[INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually")
|
print("[INFO] Not injecting WebRTC candidates into go2rtc config as it has been set manually", file=sys.stderr)
|
||||||
|
|
||||||
# need to replace ffmpeg command when using ffmpeg4
|
# need to replace ffmpeg command when using ffmpeg4
|
||||||
if not os.path.exists(BTBN_PATH):
|
if not os.path.exists(BTBN_PATH):
|
||||||
|
Loading…
Reference in New Issue
Block a user