From 40dab0c0173572fc3741bb01cb95dedb43dd07d8 Mon Sep 17 00:00:00 2001 From: David Ventura Date: Tue, 7 May 2024 11:29:05 +0200 Subject: [PATCH] bump timeout for wifiscanning - should only be in pair mode.. --- session.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/session.ts b/session.ts index 2bd837c..e6fa1b9 100644 --- a/session.ts +++ b/session.ts @@ -86,7 +86,8 @@ export const makeSession = ( let buf = create_P2pAlive(); session.send(buf); } - if (delta > 5000) { + if (delta > 9000) { + // should depend on whether we are streaming video logger.warning(`Camera ${session.devName} timed out`); session.eventEmitter.emit("disconnect"); }