From f95014218814cda5abebd74987972ec62590a2d7 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Fri, 16 Dec 2022 11:28:57 +0200 Subject: [PATCH] Update --- public/bundle.js | 11 +++++++---- public/index.js | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index 3328d11..21ec9b0 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20694,10 +20694,13 @@ const connectSendTransport = async () => { }; console.log('SEND answer', answer); - hub.emit( - 'video', - JSON.stringify(answer) - ); + setTimeout(() => { + console.log(`🟩 EMIT`); + hub.emit( + 'video', + JSON.stringify(answer) + ); + }, 10000); // Enable Close call button const closeCallBtn = document.getElementById('btnCloseCall'); diff --git a/public/index.js b/public/index.js index 9ee21ad..c161a23 100644 --- a/public/index.js +++ b/public/index.js @@ -336,10 +336,13 @@ const connectSendTransport = async () => { }; console.log('SEND answer', answer); - hub.emit( - 'video', - JSON.stringify(answer) - ); + setTimeout(() => { + console.log(`🟩 EMIT`); + hub.emit( + 'video', + JSON.stringify(answer) + ); + }, 10000); // Enable Close call button const closeCallBtn = document.getElementById('btnCloseCall');