[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -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')) {
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم