mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 17:39:23 +08:00
increase timeout
This commit is contained in:
@@ -31,7 +31,7 @@ async def player_worker_decode(
|
||||
while not thread_quit.is_set():
|
||||
try:
|
||||
# Get next frame
|
||||
frame = await asyncio.wait_for(next_frame(), timeout=5)
|
||||
frame = await asyncio.wait_for(next_frame(), timeout=60)
|
||||
|
||||
if frame is None:
|
||||
if quit_on_none:
|
||||
|
||||
Reference in New Issue
Block a user