mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
- 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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user