diff --git a/src/web/ui-v2-dist/index.html b/src/web/ui-v2-dist/index.html index a1f7f9b..8b71264 100644 --- a/src/web/ui-v2-dist/index.html +++ b/src/web/ui-v2-dist/index.html @@ -455,7 +455,7 @@ async function loadAudioDevices(){ const outSel=document.getElementById('audioOutputDevice'); if(!inSel||!outSel)return; const devs=await API.listAudioDevices(); - const opts=(devs||[]).map(d=>{ + const opts=((devs&&devs.devices)||[]).map(d=>{ const id='hw:'+d.card+','+d.device; return ''; }).join('')||'';