LINXD-2270-p2 #19
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user