- Fix A1/P1 camera streaming with extended timeouts and lower FPS cap

- Removed deprecated -stimeout option (renamed to -timeout in ffmpeg 5.0+).
This commit is contained in:
maziggy
2025-12-24 13:43:35 +01:00
parent 7622d2ae5c
commit 01989b7182
+1 -3
View File
@@ -92,9 +92,7 @@ async def generate_mjpeg_stream(
cmd.extend(
[
"-timeout",
"10000000", # 10 seconds in microseconds
"-stimeout",
"10000000", # Socket timeout
"10000000", # 10 seconds in microseconds (replaces deprecated -stimeout)
"-analyzeduration",
"10000000", # Longer analysis time
"-probesize",