From 697726a5647ad080f97d15381fc45cb66300f2f3 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sun, 5 Jan 2025 17:15:16 +0100 Subject: [PATCH] [mirotalksfu] - fix save recording before disconnect --- app/src/Server.js | 2 +- package.json | 2 +- public/js/Room.js | 4 ++-- 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 d78d88af..820d5199 100644 --- a/app/src/Server.js +++ b/app/src/Server.js @@ -55,7 +55,7 @@ dev 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.6.81 + * @version 1.6.82 * */ diff --git a/package.json b/package.json index f3345303..94fec2f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalksfu", - "version": "1.6.81", + "version": "1.6.82", "description": "WebRTC SFU browser-based video calls", "main": "Server.js", "scripts": { diff --git a/public/js/Room.js b/public/js/Room.js index 3ee44997..47ac13ba 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.6.81 + * @version 1.6.82 * */ @@ -4676,7 +4676,7 @@ function showAbout() { imageUrl: image.about, customClass: { image: 'img-about' }, position: 'center', - title: 'WebRTC SFU v1.6.81', + title: 'WebRTC SFU v1.6.82', html: `
diff --git a/public/js/RoomClient.js b/public/js/RoomClient.js index 82e91076..b8a4cbf7 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.6.81 + * @version 1.6.82 * */ @@ -1065,6 +1065,7 @@ class RoomClient { }; handleSocketDisconnect = () => { + this.saveRecording('Socket disconnected'); this.toast( 'warning', 'Socket Disconnected', @@ -1086,7 +1087,6 @@ class RoomClient { byeBye() { this.exit(true); this.ServerAway(); - this.saveRecording('Socket disconnected'); } handleEndRTMP = (data) => {