This commit is contained in:
eric
2026-03-24 11:56:11 -05:00
parent e6eb1c075b
commit 9e812215d2
16 changed files with 1797 additions and 155 deletions

View File

@@ -1298,9 +1298,12 @@ def start_record(url_data: tuple, count_variable: int = -1) -> None:
ffmpeg_command.insert(11, "-headers")
ffmpeg_command.insert(12, headers)
if proxy_address:
_ff_proxy = (proxy_address or "").strip() or (
os.environ.get("STREAM_HTTP_PROXY") or ""
).strip() or None
if _ff_proxy:
ffmpeg_command.insert(1, "-http_proxy")
ffmpeg_command.insert(2, proxy_address)
ffmpeg_command.insert(2, _ff_proxy)
recording.add(record_name)
start_record_time = datetime.datetime.now()