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(): 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:

View File

@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
[project] [project]
name = "gradio_webrtc" name = "gradio_webrtc"
version = "0.0.7" version = "0.0.8"
description = "Stream images in realtime with webrtc" description = "Stream images in realtime with webrtc"
readme = "README.md" readme = "README.md"
license = "apache-2.0" license = "apache-2.0"