[mirotalksfu] - keep AGC false, enable audio advance options for all, update dep

هذا الالتزام موجود في:
Miroslav Pejic
2025-05-30 23:37:53 +02:00
الأصل a744546652
التزام c6efe1ac60
7 ملفات معدلة مع 25 إضافات و41 حذوفات

عرض الملف

@@ -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.52
* @version 1.8.53
*
*/

عرض الملف

@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.8.52",
"version": "1.8.53",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
@@ -57,11 +57,11 @@
"node": ">=18"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.817.0",
"@aws-sdk/lib-storage": "^3.817.0",
"@aws-sdk/client-s3": "^3.821.0",
"@aws-sdk/lib-storage": "^3.821.0",
"@mattermost/client": "10.8.0",
"@ngrok/ngrok": "1.5.1",
"@sentry/node": "^9.23.0",
"@sentry/node": "^9.24.0",
"async-mutex": "^0.5.0",
"axios": "^1.9.0",
"chokidar": "^4.0.3",
@@ -84,7 +84,7 @@
"mediasoup": "3.16.0",
"mediasoup-client": "3.11.0",
"nodemailer": "^7.0.3",
"openai": "^4.103.0",
"openai": "^5.0.1",
"qs": "6.14.0",
"sanitize-filename": "^1.6.3",
"socket.io": "4.8.1",
@@ -92,7 +92,7 @@
"uuid": "11.1.0"
},
"devDependencies": {
"@babel/core": "^7.27.3",
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"babel-loader": "^10.0.0",
"mocha": "^11.5.0",

عرض الملف

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

عرض الملف

@@ -31,9 +31,9 @@ class LocalStorage {
moderator_chat_cant_deep_seek: false, // Everyone can't chat with DeepSeek
moderator_media_cant_sharing: false, // Everyone can't share media
moderator_disconnect_all_on_leave: false, // Disconnect all participants on leave room
mic_auto_gain_control: true,
mic_echo_cancellations: true,
mic_noise_suppression: true,
mic_auto_gain_control: false, // Automatic gain control
mic_echo_cancellations: true, // Echo cancellation
mic_noise_suppression: true, // Noise suppression
mic_sample_rate: 0, // 0: 48000 Hz 1: 44100 Hz
mic_sample_size: 0, // 0: 16 bits 1: 32 bits
mic_channel_count: 0, // 0: 1(mono) 1: 2 (stereo)

عرض الملف

@@ -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.52
* @version 1.8.53
*
*/
@@ -3656,7 +3656,7 @@ function getUUID() {
function handleButtonsBar() {
const showButtonsHandler = () => showButtons();
isDesktopDevice
isDesktopDevice
? document.body.addEventListener('mousemove', showButtonsHandler)
: document.body.addEventListener('touchstart', showButtonsHandler);
}
@@ -5450,7 +5450,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.52',
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.8.53',
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.52
* @version 1.8.53
*
*/
@@ -2078,32 +2078,20 @@ class RoomClient {
// ####################################################
getAudioConstraints(deviceId) {
let constraints = {
return {
audio: {
autoGainControl: true,
echoCancellation: true,
noiseSuppression: true,
autoGainControl: switchAutoGainControl.checked,
echoCancellation: switchNoiseSuppression.checked,
noiseSuppression: switchEchoCancellation.checked,
sampleRate: parseInt(sampleRateSelect.value),
sampleSize: parseInt(sampleSizeSelect.value),
channelCount: parseInt(channelCountSelect.value),
latency: parseInt(micLatencyRange.value),
volume: parseInt(micVolumeRange.value / 100),
deviceId: deviceId,
},
video: false,
};
if (isRulesActive && isPresenter) {
constraints = {
audio: {
autoGainControl: switchAutoGainControl.checked,
echoCancellation: switchNoiseSuppression.checked,
noiseSuppression: switchEchoCancellation.checked,
sampleRate: parseInt(sampleRateSelect.value),
sampleSize: parseInt(sampleSizeSelect.value),
channelCount: parseInt(channelCountSelect.value),
latency: parseInt(micLatencyRange.value),
volume: parseInt(micVolumeRange.value / 100),
deviceId: deviceId,
},
video: false,
};
}
return constraints;
}
getCameraConstraints() {

عرض الملف

@@ -42,7 +42,7 @@ let BUTTONS = {
broadcastingButton: true, // presenter
lobbyButton: true, // presenter
sendEmailInvitation: true, // presenter
micOptionsButton: true, // presenter
micOptionsButton: true,
tabRTMPStreamingBtn: true, // presenter
tabModerator: true, // presenter
tabRecording: true,
@@ -123,14 +123,12 @@ function handleRules(isPresenter) {
// ##################################
// GUEST
// ##################################
//BUTTONS.main.shareButton = false;
BUTTONS.participantsList.saveInfoButton = false;
BUTTONS.settings.lockRoomButton = false;
BUTTONS.settings.unlockRoomButton = false;
BUTTONS.settings.broadcastingButton = false;
BUTTONS.settings.lobbyButton = false;
BUTTONS.settings.sendEmailInvitation = false;
BUTTONS.settings.micOptionsButton = false;
BUTTONS.settings.tabRTMPStreamingBtn = false;
BUTTONS.settings.tabModerator = false;
BUTTONS.videoOff.muteAudioButton = false;
@@ -140,8 +138,6 @@ function handleRules(isPresenter) {
BUTTONS.consumerVideo.geolocationButton = false;
BUTTONS.consumerVideo.banButton = false;
BUTTONS.consumerVideo.ejectButton = false;
//BUTTONS.consumerVideo.muteAudioButton = false;
//BUTTONS.consumerVideo.muteVideoButton = false;
BUTTONS.whiteboard.whiteboardLockButton = false;
//...