From f54b223adf6e5f801e0424064695eab4c80223f6 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 25 Jan 2023 17:38:45 -0700 Subject: [PATCH] Print webrtc info to stderr (#5227) * Update create_config.py * Print to stderr --- docker/rootfs/usr/local/go2rtc/create_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/rootfs/usr/local/go2rtc/create_config.py b/docker/rootfs/usr/local/go2rtc/create_config.py index 39eb475bc..624415633 100644 --- a/docker/rootfs/usr/local/go2rtc/create_config.py +++ b/docker/rootfs/usr/local/go2rtc/create_config.py @@ -2,6 +2,7 @@ import json import os +import sys import yaml @@ -41,7 +42,7 @@ if not go2rtc_config.get("webrtc", {}).get("candidates", []): go2rtc_config["webrtc"] = {"candidates": default_candidates} 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 if not os.path.exists(BTBN_PATH):