[mirotalksfu] - fix typo

هذا الالتزام موجود في:
Miroslav Pejic
2024-04-07 15:56:05 +02:00
الأصل 2bd5c747c8
التزام b5812f8114

عرض الملف

@@ -1807,7 +1807,7 @@ async function changeCamera(deviceId) {
aspectRatio: 1.777, aspectRatio: 1.777,
}, },
}; };
navigator.mediaDevices await navigator.mediaDevices
.getUserMedia(videoConstraints) .getUserMedia(videoConstraints)
.then((camStream) => { .then((camStream) => {
initVideo.className = 'mirror'; initVideo.className = 'mirror';
@@ -1907,7 +1907,7 @@ async function toggleScreenSharing() {
} }
joinRoomWithScreen = !joinRoomWithScreen; joinRoomWithScreen = !joinRoomWithScreen;
if (joinRoomWithScreen) { if (joinRoomWithScreen) {
navigator.mediaDevices await navigator.mediaDevices
.getDisplayMedia({ audio: true, video: true }) .getDisplayMedia({ audio: true, video: true })
.then((screenStream) => { .then((screenStream) => {
if (initVideo.classList.contains('mirror')) { if (initVideo.classList.contains('mirror')) {