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