mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09: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():
|
while not thread_quit.is_set():
|
||||||
try:
|
try:
|
||||||
# Get next frame
|
# 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 frame is None:
|
||||||
if quit_on_none:
|
if quit_on_none:
|
||||||
|
|||||||
Reference in New Issue
Block a user