Skip to content

Commit

Permalink
[mirotalksfu] - fix save recording before disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jan 5, 2025
1 parent cd48d36 commit 697726a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
*/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
*/

Expand Down Expand Up @@ -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: `
<br />
<div id="about">
Expand Down
4 changes: 2 additions & 2 deletions public/js/RoomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
*/

Expand Down Expand Up @@ -1065,6 +1065,7 @@ class RoomClient {
};

handleSocketDisconnect = () => {
this.saveRecording('Socket disconnected');
this.toast(
'warning',
'Socket Disconnected',
Expand All @@ -1086,7 +1087,6 @@ class RoomClient {
byeBye() {
this.exit(true);
this.ServerAway();
this.saveRecording('Socket disconnected');
}

handleEndRTMP = (data) => {
Expand Down

0 comments on commit 697726a

Please sign in to comment.