From eb668e2500da29d8d5c09ce3b8eb67c46e1aeccb Mon Sep 17 00:00:00 2001 From: Sergiu Toma Date: Mon, 19 Dec 2022 13:29:24 +0200 Subject: [PATCH] Update --- public/bundle.js | 10 ++++++++++ public/index.html | 3 +++ public/index.js | 10 ++++++++++ 3 files changed, 23 insertions(+) diff --git a/public/bundle.js b/public/bundle.js index 82426c4..be49784 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -20375,6 +20375,16 @@ console.log('[URL] ASSET_ID', ASSET_ID, '| ACCOUNT_ID', ACCOUNT_ID, '| callId', console.log('🟩 config', config) +checkbox = document.getElementById('produceAudio'); +checkbox.addEventListener('change', e => { + if(e.target.checked){ + console.log('produce audio'); + } else { + console.log('don\t produce audio'); + } + +}); + let socket, hub let device let rtpCapabilities diff --git a/public/index.html b/public/index.html index 8079794..eb68844 100644 --- a/public/index.html +++ b/public/index.html @@ -34,6 +34,9 @@
+ Client options: + +
diff --git a/public/index.js b/public/index.js index 6d2416b..0db0215 100644 --- a/public/index.js +++ b/public/index.js @@ -17,6 +17,16 @@ console.log('[URL] ASSET_ID', ASSET_ID, '| ACCOUNT_ID', ACCOUNT_ID, '| callId', console.log('🟩 config', config) +checkbox = document.getElementById('produceAudio'); +checkbox.addEventListener('change', e => { + if(e.target.checked){ + console.log('produce audio'); + } else { + console.log('don\t produce audio'); + } + +}); + let socket, hub let device let rtpCapabilities
Local Video