LINXD-2270-p2 #19

Closed
sergiu wants to merge 58 commits from LINXD-2270-p2 into develop
3 changed files with 23 additions and 0 deletions
Showing only changes of commit eb668e2500 - Show all commits

View File

@ -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

View File

@ -34,6 +34,9 @@
<body>
<body>
<div id="video">
<legend>Client options:</legend>
<input type="checkbox" id="produceAudio" name="produceAudio">
<label for="produceAudio">Produce audio</label><br>
<table>
<thead>
<th>Local Video</th>

View File

@ -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