fix ios microphone request
This commit is contained in:
parent
d4c4cd8823
commit
08a20e3a79
@ -57,7 +57,7 @@ window.onload = async function () {
|
|||||||
var paramsElem = document.getElementById("params");
|
var paramsElem = document.getElementById("params");
|
||||||
|
|
||||||
for (var i = 0; i < data.buses.length; i++)
|
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();
|
hasAudioPermission = !await needAudioPermission();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user