[mirotalksfu] - improve recording notification

هذا الالتزام موجود في:
Miroslav Pejic
2025-04-27 21:20:34 +02:00
الأصل 925a9727a7
التزام 5ba1ea63fc
5 ملفات معدلة مع 13 إضافات و9 حذوفات

عرض الملف

@@ -64,7 +64,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.8.31
* @version 1.8.32
*
*/

عرض الملف

@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.8.31",
"version": "1.8.32",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {

عرض الملف

@@ -64,7 +64,7 @@ let BRAND = {
},
about: {
imageUrl: '../images/mirotalk-logo.gif',
title: '<strong>WebRTC SFU v1.8.31</strong>',
title: '<strong>WebRTC SFU v1.8.32</strong>',
html: `
<button
id="support-button"

عرض الملف

@@ -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.8.31
* @version 1.8.32
*
*/
@@ -5351,7 +5351,7 @@ function showAbout() {
position: 'center',
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
customClass: { image: 'img-about' },
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.8.31',
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.8.32',
html: `
<br />
<div id="about">

عرض الملف

@@ -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.8.31
* @version 1.8.32
*
*/
@@ -4945,8 +4945,11 @@ class RoomClient {
});
}
async showMessage(data) {
if (!this.isChatOpen && this.showChatOnMessage) await this.toggleChat();
async showMessage(data, toggleChat = true) {
if (toggleChat && !this.isChatOpen && this.showChatOnMessage) {
await this.toggleChat();
}
this.setMsgAvatar('right', data.peer_name, data.peer_avatar);
this.appendMessage(
'right',
@@ -4957,6 +4960,7 @@ class RoomClient {
data.to_peer_id,
data.to_peer_name,
);
if (!this.showChatOnMessage) {
this.userLog('info', `💬 New message from: ${data.peer_name}`, 'top-end');
}
@@ -6470,7 +6474,7 @@ class RoomClient {
to_peer_id: 'all',
to_peer_name: 'all',
};
this.showMessage(recAction);
this.showMessage(recAction, false);
const recData = {
type: 'recording',