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');