From 5a49d890d8f2d1bbf6448a39c45b32d9103128ea Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Tue, 31 Jan 2023 16:24:43 -0300 Subject: [PATCH] Remove change from Python file --- docker/rootfs/usr/local/go2rtc/create_config.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docker/rootfs/usr/local/go2rtc/create_config.py b/docker/rootfs/usr/local/go2rtc/create_config.py index 9636ece21..624415633 100644 --- a/docker/rootfs/usr/local/go2rtc/create_config.py +++ b/docker/rootfs/usr/local/go2rtc/create_config.py @@ -31,12 +31,6 @@ if go2rtc_config.get("log") is None: elif go2rtc_config["log"].get("format") is None: go2rtc_config["log"]["format"] = "text" -# the audio from the rtsp stream should use offer aac by default -if go2rtc_config.get("rtsp") is None: - go2rtc_config["rtsp"] = {"default_query": "mp4"} -elif go2rtc_config["rtsp"].get("default_query") is None: - go2rtc_config["rtsp"]["default_query"] = "mp4" - if not go2rtc_config.get("webrtc", {}).get("candidates", []): default_candidates = [] # use internal candidate if it was discovered when running through the add-on