From cdccbe79224de0481b521f70a5702ed8e46d187a Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sat, 1 Jun 2024 12:19:25 +0200 Subject: [PATCH] [mirotalksfu] - add missing, update dep --- app/src/Server.js | 2 +- package.json | 6 +++--- public/js/Room.js | 2 +- public/js/RoomClient.js | 4 +++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/src/Server.js b/app/src/Server.js index 065b60b3..458a50c6 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -42,7 +42,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.4.42 + * @version 1.4.43 * */ diff --git a/package.json b/package.json index a7126095..6a0a239e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.4.42", + "version": "1.4.43", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { @@ -57,10 +57,10 @@ "mediasoup-client": "3.7.8", "ngrok": "^5.0.0-beta.2", "nodemailer": "^6.9.13", - "openai": "^4.47.2", + "openai": "^4.47.3", "qs": "6.12.1", "socket.io": "4.7.5", - "swagger-ui-express": "5.0.0", + "swagger-ui-express": "5.0.1", "uuid": "9.0.1", "xss": "^1.0.15", "yamljs": "0.3.0" diff --git a/public/js/Room.js b/public/js/Room.js index 43db980a..ac244f7c 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.4.42 + * @version 1.4.43 * */ diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index 0611866c..19c7a5e9 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.4.42 + * @version 1.4.43 * */ @@ -2514,6 +2514,8 @@ class RoomClient { // #################################################### exit(offline = false) { + if (VideoAI.active) this.stopSession(); + const clean = () => { this._isConnected = false; if (this.consumerTransport) this.consumerTransport.close();