[mirotalksfu] - join room without cam and audio

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

عرض الملف

@@ -175,14 +175,16 @@ 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`);
// return false;
// }
hide(loadingDiv); hide(loadingDiv);
getPeerGeoLocation(); getPeerGeoLocation();
whoAreYou(); whoAreYou();
} }
}
function enumerateAudioDevices(stream) { function enumerateAudioDevices(stream) {
console.log('02 ----> Get Audio Devices'); console.log('02 ----> Get Audio Devices');