From 7f71a4a2c44909a9f50279278d3cfd3efe0dfd45 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Mon, 22 Jul 2024 20:59:48 +0200 Subject: [PATCH] [mirotalksfu] - improve screen constraints, update dep --- app/src/Server.js | 2 +- package.json | 4 ++-- public/js/Room.js | 4 ++-- public/js/RoomClient.js | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/Server.js b/app/src/Server.js index 4ef7596d..619474fa 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -44,7 +44,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.5.21 + * @version 1.5.22 * */ diff --git a/package.json b/package.json index 8fa9b0ca..e328327f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.5.21", + "version": "1.5.22", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { @@ -75,7 +75,7 @@ "mediasoup-client": "3.7.12", "ngrok": "^5.0.0-beta.2", "nodemailer": "^6.9.14", - "openai": "^4.52.7", + "openai": "^4.53.0", "qs": "6.12.3", "socket.io": "4.7.5", "swagger-ui-express": "5.0.1", diff --git a/public/js/Room.js b/public/js/Room.js index 1436bf26..5f148880 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.5.21 + * @version 1.5.22 * */ @@ -4299,7 +4299,7 @@ function showAbout() { imageUrl: image.about, customClass: { image: 'img-about' }, position: 'center', - title: 'WebRTC SFU v1.5.21', + title: 'WebRTC SFU v1.5.22', html: `
diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index cc4e49a7..a56145fa 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.5.21 + * @version 1.5.22 * */ @@ -1623,8 +1623,8 @@ class RoomClient { return { audio: true, video: { - width: { max: 1920 }, - height: { max: 1080 }, + width: { ideal: 1920 }, + height: { ideal: 1080 }, frameRate: frameRate, }, };