's'
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user