[mirotalksfu] - join room without cam and audio

هذا الالتزام موجود في:
Miroslav Pejic
2022-05-13 08:32:36 +02:00
الأصل 2fa4b2e18b
التزام 3f0d9564f7

عرض الملف

@@ -175,13 +175,15 @@ async function initEnumerateDevices() {
isVideoAllowed = false; isVideoAllowed = false;
}); });
if (!isAudioAllowed && !isVideoAllowed) { // The user without audio or webcam can't join
openURL(`/permission?room_id=${room_id}&message=Not allowed both Audio and Video`); // if (!isAudioAllowed && !isVideoAllowed) {
} else { // openURL(`/permission?room_id=${room_id}&message=Not allowed both Audio and Video`);
hide(loadingDiv); // return false;
getPeerGeoLocation(); // }
whoAreYou();
} hide(loadingDiv);
getPeerGeoLocation();
whoAreYou();
} }
function enumerateAudioDevices(stream) { function enumerateAudioDevices(stream) {