fix ios microphone request

This commit is contained in:
Stefano D'Angelo 2024-02-21 16:51:43 +01:00
parent d4c4cd8823
commit 08a20e3a79

View File

@ -57,7 +57,7 @@ window.onload = async function () {
var paramsElem = document.getElementById("params");
for (var i = 0; i < data.buses.length; i++)
if (!data.buses[i].output) {
if (data.buses[i].type == "audio" && data.buses[i].direction == "input") {
hasAudioPermission = !await needAudioPermission();
break;
}