From 4ac69ee219a1aa0fd6ddd486fd4ff080d936e15e Mon Sep 17 00:00:00 2001 From: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com> Date: Mon, 12 May 2025 08:56:10 -0400 Subject: [PATCH] Increase timeout (#310) * Increase timeout * Version 24 * Build --- backend/fastrtc/templates/component/index.js | 8 ++++---- frontend/shared/InteractiveAudio.svelte | 2 +- frontend/shared/StaticAudio.svelte | 2 +- frontend/shared/StaticVideo.svelte | 2 +- frontend/shared/Webcam.svelte | 2 +- pyproject.toml | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/backend/fastrtc/templates/component/index.js b/backend/fastrtc/templates/component/index.js index d7853f4..699dd88 100644 --- a/backend/fastrtc/templates/component/index.js +++ b/backend/fastrtc/templates/component/index.js @@ -18817,7 +18817,7 @@ function b7(n, e, t) { () => { h({ type: "connection_timeout" }); }, - 5e3 + 1e4 ); Bi(q, ie, f === "send" ? null : a, z.offer, we, "video", oe, p, void 0, m).then((fe) => { clearTimeout(U), ie = fe; @@ -19712,7 +19712,7 @@ function n8(n, e, t) { () => { o({ type: "connection_timeout" }); }, - 5e3 + 1e4 ); Bi(null, f, h, c.offer, m, "video", v).then((b) => { clearTimeout(A), t(10, f = b); @@ -20394,7 +20394,7 @@ function M8(n, e, t) { () => { c({ type: "connection_timeout" }); }, - 5e3 + 1e4 ); Bi(W, A, S, v.offer, b, "audio", y).then((q) => { clearTimeout(oe), A = q; @@ -21598,7 +21598,7 @@ function dp(n, e, t) { () => { z({ type: "connection_timeout" }); }, - 5e3 + 1e4 ); Bi(ue, oe, a === "send" ? null : W, R.offer, q, "audio", z, f, j, v).then((le) => { clearTimeout(N), oe = le; diff --git a/frontend/shared/InteractiveAudio.svelte b/frontend/shared/InteractiveAudio.svelte index 24a06fd..6a2bd83 100644 --- a/frontend/shared/InteractiveAudio.svelte +++ b/frontend/shared/InteractiveAudio.svelte @@ -214,7 +214,7 @@ const timeoutId = setTimeout(() => { // @ts-ignore _on_change_cb({ type: "connection_timeout" }); - }, 5000); + }, 10000); start( stream, diff --git a/frontend/shared/StaticAudio.svelte b/frontend/shared/StaticAudio.svelte index d44177d..561fe32 100644 --- a/frontend/shared/StaticAudio.svelte +++ b/frontend/shared/StaticAudio.svelte @@ -77,7 +77,7 @@ const timeoutId = setTimeout(() => { // @ts-ignore on_change_cb({ type: "connection_timeout" }); - }, 5000); + }, 10000); start( stream, diff --git a/frontend/shared/StaticVideo.svelte b/frontend/shared/StaticVideo.svelte index 773bb8c..d1a8fb2 100644 --- a/frontend/shared/StaticVideo.svelte +++ b/frontend/shared/StaticVideo.svelte @@ -72,7 +72,7 @@ const timeoutId = setTimeout(() => { // @ts-ignore on_change_cb({ type: "connection_timeout" }); - }, 5000); + }, 10000); start( null, diff --git a/frontend/shared/Webcam.svelte b/frontend/shared/Webcam.svelte index cb4e916..e8cdcbc 100644 --- a/frontend/shared/Webcam.svelte +++ b/frontend/shared/Webcam.svelte @@ -183,7 +183,7 @@ const timeoutId = setTimeout(() => { // @ts-ignore on_change_cb({ type: "connection_timeout" }); - }, 5000); + }, 10000); start( stream, diff --git a/pyproject.toml b/pyproject.toml index 6d61f36..900db97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = "hatchling.build" [project] name = "fastrtc" -version = "0.0.23" +version = "0.0.24" description = "The realtime communication library for Python" readme = "README.md" license = "MIT"