[mirotalksfu] - improvements, update dep
هذا الالتزام موجود في:
@@ -44,7 +44,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.83
|
||||
* @version 1.4.84
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mirotalksfu",
|
||||
"version": "1.4.83",
|
||||
"version": "1.4.84",
|
||||
"description": "WebRTC SFU browser-based video calls",
|
||||
"main": "Server.js",
|
||||
"scripts": {
|
||||
@@ -56,7 +56,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/integrations": "7.114.0",
|
||||
"@sentry/node": "8.13.0",
|
||||
"@sentry/node": "8.14.0",
|
||||
"axios": "^1.7.2",
|
||||
"body-parser": "1.20.2",
|
||||
"colors": "1.4.0",
|
||||
|
||||
@@ -511,7 +511,7 @@ th {
|
||||
}
|
||||
|
||||
.dropdown-menu button:hover {
|
||||
background: var(--select-bg);
|
||||
background: transparent;
|
||||
color: #ffffff;
|
||||
transform: scale(1);
|
||||
}
|
||||
@@ -521,8 +521,16 @@ th {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.dropdown-menu li {
|
||||
padding: 8px 16px;
|
||||
}
|
||||
|
||||
.dropdown-menu li:hover {
|
||||
background: var(--btns-bg-color);
|
||||
background: var(--body-bg);
|
||||
}
|
||||
|
||||
.dropdown-menu li button {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Hide the default Bootstrap dropdown icon */
|
||||
@@ -1222,6 +1230,9 @@ progress {
|
||||
.whiteboard-header-options .dropdown-menu button {
|
||||
width: 160px;
|
||||
}
|
||||
.whiteboard-header-options .dropdown-menu button:hover {
|
||||
background: var(--body-bg);
|
||||
}
|
||||
|
||||
.whiteboardColorPicker {
|
||||
-webkit-appearance: none;
|
||||
|
||||
@@ -18,7 +18,6 @@ class LocalStorage {
|
||||
this.SFU_SETTINGS = {
|
||||
share_on_join: true, // popup message on join
|
||||
show_chat_on_msg: true, // show chat on new message
|
||||
transcript_persistent_mode: false, // Prevent stop transcript in case of no-speech
|
||||
transcript_show_on_msg: true, // show transcript on new message
|
||||
speech_in_msg: false, // speech incoming message
|
||||
moderator_audio_start_muted: false, // Everyone starts muted in the room
|
||||
|
||||
@@ -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.83
|
||||
* @version 1.4.84
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -335,7 +335,6 @@ function initClient() {
|
||||
setTippy('transcriptionMinBtn', 'Minimize', 'bottom');
|
||||
setTippy('transcriptionSpeechStatus', 'Status', 'bottom');
|
||||
setTippy('transcriptShowOnMsg', 'Show transcript on new message comes', 'bottom');
|
||||
setTippy('transcriptPersistentMode', 'Prevent stopping in the absence of speech', 'bottom');
|
||||
setTippy('transcriptionSpeechStart', 'Start transcription', 'top');
|
||||
setTippy('transcriptionSpeechStop', 'Stop transcription', 'top');
|
||||
}
|
||||
@@ -2333,14 +2332,6 @@ function handleSelects() {
|
||||
lS.setSettings(localStorageSettings);
|
||||
e.target.blur();
|
||||
};
|
||||
// transcript
|
||||
transcriptPersistentMode.onchange = (e) => {
|
||||
transcription.isPersistentMode = e.currentTarget.checked;
|
||||
rc.roomMessage('transcriptIsPersistentMode', transcription.isPersistentMode);
|
||||
localStorageSettings.transcript_persistent_mode = transcription.isPersistentMode;
|
||||
lS.setSettings(localStorageSettings);
|
||||
e.target.blur();
|
||||
};
|
||||
transcriptShowOnMsg.onchange = (e) => {
|
||||
transcription.showOnMessage = e.currentTarget.checked;
|
||||
rc.roomMessage('transcriptShowOnMsg', transcription.showOnMessage);
|
||||
@@ -2572,13 +2563,11 @@ function handleRoomEmojiPicker() {
|
||||
|
||||
function loadSettingsFromLocalStorage() {
|
||||
rc.showChatOnMessage = localStorageSettings.show_chat_on_msg;
|
||||
transcription.isPersistentMode = localStorageSettings.transcript_persistent_mode;
|
||||
transcription.showOnMessage = localStorageSettings.transcript_show_on_msg;
|
||||
rc.speechInMessages = localStorageSettings.speech_in_msg;
|
||||
isPitchBarEnabled = localStorageSettings.pitch_bar;
|
||||
isSoundEnabled = localStorageSettings.sounds;
|
||||
showChatOnMsg.checked = rc.showChatOnMessage;
|
||||
transcriptPersistentMode.checked = transcription.isPersistentMode;
|
||||
transcriptShowOnMsg.checked = transcription.showOnMessage;
|
||||
speechIncomingMsg.checked = rc.speechInMessages;
|
||||
switchPitchBar.checked = isPitchBarEnabled;
|
||||
@@ -4100,7 +4089,7 @@ function showAbout() {
|
||||
imageUrl: image.about,
|
||||
customClass: { image: 'img-about' },
|
||||
position: 'center',
|
||||
title: 'WebRTC SFU v1.4.83',
|
||||
title: 'WebRTC SFU v1.4.84',
|
||||
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.4.83
|
||||
* @version 1.4.84
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -5406,9 +5406,6 @@ class RoomClient {
|
||||
case 'speechMessages':
|
||||
this.userLog('info', `${icons.speech} Speech incoming messages ${status}`, 'top-end');
|
||||
break;
|
||||
case 'transcriptIsPersistentMode':
|
||||
userLog('info', `${icons.transcript} Persistent transcription mode active: ${active}`, 'top-end');
|
||||
break;
|
||||
case 'transcriptShowOnMsg':
|
||||
active
|
||||
? userLog(
|
||||
|
||||
@@ -84,7 +84,7 @@ class Transcription {
|
||||
this.isBgTransparent = false;
|
||||
this.isPinned = false;
|
||||
this.isHidden = true;
|
||||
this.isPersistentMode = false;
|
||||
this.isPersistentMode = true; // Prevent stopping due to extended periods of silence
|
||||
this.isPersistent = false;
|
||||
this.showOnMessage = true;
|
||||
}
|
||||
@@ -427,6 +427,5 @@ class Transcription {
|
||||
selectDisabled(disabled = false) {
|
||||
transcriptionLanguage.disabled = disabled;
|
||||
transcriptionDialect.disabled = disabled;
|
||||
transcriptPersistentMode.disabled = disabled;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1434,12 +1434,6 @@ access to use this app.
|
||||
<header id="transcriptionHeader" class="transcription-header">
|
||||
<div class="transcription-header-title">
|
||||
<button id="transcriptionSpeechStatus" class="fas fa-microphone-alt"></button>
|
||||
<div class="title ml-5">
|
||||
<i class="fa-solid fa-infinity"></i>
|
||||
<div class="form-check form-switch form-switch-md ml-5">
|
||||
<input class="form-check-input" type="checkbox" id="transcriptPersistentMode" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="transcription-header-options">
|
||||
<button id="transcriptionTogglePinBtn" class="fas fa-map-pin"></button>
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم