From 449724537eaa5fcfd0909a6b22ee82a42ccad8c9 Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Fri, 16 Dec 2022 12:01:20 +0200 Subject: [PATCH] Update --- public/bundle.js | 11 ++++------- public/index.js | 11 ++++------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/public/bundle.js b/public/bundle.js index 6617061..a6eb0ec 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20692,13 +20692,10 @@ const connectSendTransport = async () => { }; console.log('SEND answer', answer); - setTimeout(() => { - console.log(`🟩 EMIT`); - hub.emit( - 'video', - JSON.stringify(answer) - ); - }, 10000); + hub.emit( + 'video', + JSON.stringify(answer) + ); // Enable Close call button const closeCallBtn = document.getElementById('btnCloseCall'); diff --git a/public/index.js b/public/index.js index 8af28c4..9233a51 100644 --- a/public/index.js +++ b/public/index.js @@ -334,13 +334,10 @@ const connectSendTransport = async () => { }; console.log('SEND answer', answer); - setTimeout(() => { - console.log(`🟩 EMIT`); - hub.emit( - 'video', - JSON.stringify(answer) - ); - }, 10000); + hub.emit( + 'video', + JSON.stringify(answer) + ); // Enable Close call button const closeCallBtn = document.getElementById('btnCloseCall');