mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-04 17:39:23 +08:00
Merge pull request #10 from freddyaboulton/help-with-timeout
Help with 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:
|
||||
|
||||
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "gradio_webrtc"
|
||||
version = "0.0.7"
|
||||
version = "0.0.8"
|
||||
description = "Stream images in realtime with webrtc"
|
||||
readme = "README.md"
|
||||
license = "apache-2.0"
|
||||
|
||||
Reference in New Issue
Block a user