diff --git a/src/webrtc.ts b/src/webrtc.ts index fd3d9aa..8fa0ef6 100644 --- a/src/webrtc.ts +++ b/src/webrtc.ts @@ -64,7 +64,7 @@ export const CreateSession = async (req: express.Request, res: express.Response) const resp: any = await new Promise((res, rej) => { timeout = setTimeout(() => { rej(new Error("Timeout waiting for response from ws")); - }, 5000); + }, 15000); // Hoist the res and rej functions to be used in the finally block for cleanup wsRes = res;