Merge pull request #10 from freddyaboulton/help-with-timeout

Help with timeout
This commit is contained in:
Freddy Boulton
2024-10-25 12:20:59 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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:

View File

@@ -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"