[mirotalk] - update dep, fix typo

This commit is contained in:
Miroslav Pejic
2024-04-23 20:32:26 +02:00
parent ed5f40ad32
commit bce0c81aef
4 changed files with 14 additions and 6 deletions
+7 -1
View File
@@ -39,7 +39,7 @@ dependencies: {
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.3.21
* @version 1.3.22
*
*/
@@ -1166,6 +1166,8 @@ io.sockets.on('connect', async (socket) => {
};
await sendToPeer(socket.id, sockets, 'roomAction', data);
break;
default:
break;
}
} catch (err) {
log.error('Room action', toJson(err));
@@ -1257,6 +1259,8 @@ io.sockets.on('connect', async (socket) => {
case 'privacy':
peers[room_id][peer_id]['peer_privacy_status'] = status;
break;
default:
break;
}
}
}
@@ -1475,6 +1479,8 @@ io.sockets.on('connect', async (socket) => {
delete presenters[channel]; // clean the presenter from the channel
}
break;
default:
break;
}
} catch (err) {
log.error('Remove Peer', toJson(err));
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "mirotalk",
"version": "1.3.21",
"version": "1.3.22",
"description": "A free WebRTC browser-based video call",
"main": "server.js",
"scripts": {
@@ -37,8 +37,8 @@
"license": "AGPL-3.0",
"homepage": "https://github.com/miroslavpejic85/mirotalk",
"dependencies": {
"@sentry/integrations": "^7.111.0",
"@sentry/node": "^7.111.0",
"@sentry/integrations": "^7.112.1",
"@sentry/node": "^7.112.1",
"axios": "^1.6.8",
"body-parser": "^1.20.2",
"colors": "^1.4.0",
@@ -50,7 +50,7 @@
"jsonwebtoken": "^9.0.2",
"ngrok": "^5.0.0-beta.2",
"nodemailer": "^6.9.13",
"openai": "^4.38.1",
"openai": "^4.38.3",
"qs": "^6.12.1",
"socket.io": "^4.7.5",
"swagger-ui-express": "^5.0.0",
+1 -1
View File
@@ -15,7 +15,7 @@
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.3.21
* @version 1.3.22
*
*/
+2
View File
@@ -87,6 +87,8 @@ class LocalStorage {
case this.MEDIA_TYPE.video:
this.P2P_INIT_CONFIG.video = status;
break;
default:
break;
}
this.setObjectLocalStorage('P2P_INIT_CONFIG', this.P2P_INIT_CONFIG);
}