From af05cd9f8a8ee0d652f2e0b870d54b968fdc9575 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sun, 31 Dec 2023 21:13:03 +0100 Subject: [PATCH] [mirotalksfu] - improvements, update dep --- app/src/Server.js | 2 +- package.json | 4 ++-- public/js/Room.js | 2 +- public/js/RoomClient.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/Server.js b/app/src/Server.js index 93ac1ff5..88508b2c 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -40,7 +40,7 @@ dependencies: { * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.3.49 + * @version 1.3.50 * */ diff --git a/package.json b/package.json index fafc809e..cd60193e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.3.49", + "version": "1.3.50", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { @@ -44,7 +44,7 @@ "crypto-js": "4.2.0", "express": "4.18.2", "httpolyglot": "0.1.2", - "mediasoup": "3.13.12", + "mediasoup": "3.13.13", "mediasoup-client": "3.7.1", "ngrok": "^4.3.3", "openai": "^4.24.1", diff --git a/public/js/Room.js b/public/js/Room.js index 9b8e7df4..3bd52b61 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.3.49 + * @version 1.3.50 * */ diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index e7da6078..aa9453e1 100644 --- a/public/js/RoomClient.js +++ b/public/js/RoomClient.js @@ -9,7 +9,7 @@ * @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.3.49 + * @version 1.3.50 * */ @@ -1657,7 +1657,7 @@ class RoomClient { if (!isScreen) this.handleVP(elem.id, vp.id); this.popupPeerInfo(p.id, this.peer_info); this.checkPeerInfoStatus(this.peer_info); - if (isScreen) pn.click(); + if (isScreen && videoMediaContainer.childElementCount >= 2) pn.click(); handleAspectRatio(); if (!this.isMobileDevice) { this.setTippy(pn.id, 'Toggle Pin', 'bottom');