From 08a20e3a797f3d952c2da89c2beb8442dfc18099 Mon Sep 17 00:00:00 2001 From: Stefano D'Angelo Date: Wed, 21 Feb 2024 16:51:43 +0100 Subject: [PATCH] fix ios microphone request --- templates/ios/src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/ios/src/index.html b/templates/ios/src/index.html index 7504234..a1cc967 100644 --- a/templates/ios/src/index.html +++ b/templates/ios/src/index.html @@ -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; }