Fix voice call cold-start timeout and preserve custom timeout message (#174) (#203)

Co-authored-by: 1amKhush <khushvendras99@gmail.com>
Co-committed-by: 1amKhush <khushvendras99@gmail.com>
This commit is contained in:
2026-04-15 20:37:03 +00:00
committed by hodlbod
parent 964ef441ec
commit 4cc1cc95ca
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ export const joinVoiceRoom = async (
try {
await Promise.race([
liveKitRoom.connect(server_url, participant_token, {maxRetries: 0}),
whenTimeout(5_000, {
whenTimeout(15_000, {
message: "Connection timed out. Please check your network and try again.",
}),
whenAborted(signal),