[mirotalksfu] - use RNNoise by default
هذا الالتزام موجود في:
@@ -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 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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 2.0.08
|
* @version 2.0.09
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
4
package-lock.json
مولّد
4
package-lock.json
مولّد
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "2.0.08",
|
"version": "2.0.09",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "2.0.08",
|
"version": "2.0.09",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "^3.930.0",
|
"@aws-sdk/client-s3": "^3.930.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mirotalksfu",
|
"name": "mirotalksfu",
|
||||||
"version": "2.0.08",
|
"version": "2.0.09",
|
||||||
"description": "WebRTC SFU browser-based video calls",
|
"description": "WebRTC SFU browser-based video calls",
|
||||||
"main": "Server.js",
|
"main": "Server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ let BRAND = {
|
|||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
imageUrl: '../images/mirotalk-logo.gif',
|
imageUrl: '../images/mirotalk-logo.gif',
|
||||||
title: '<strong>WebRTC SFU v2.0.08</strong>',
|
title: '<strong>WebRTC SFU v2.0.09</strong>',
|
||||||
html: `
|
html: `
|
||||||
<button
|
<button
|
||||||
id="support-button"
|
id="support-button"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ class LocalStorage {
|
|||||||
moderator_media_cant_sharing: false, // Everyone can't share media
|
moderator_media_cant_sharing: false, // Everyone can't share media
|
||||||
moderator_disconnect_all_on_leave: false, // Disconnect all participants on leave room
|
moderator_disconnect_all_on_leave: false, // Disconnect all participants on leave room
|
||||||
dominant_speaker_focus: false, // Focus on dominant speaker
|
dominant_speaker_focus: false, // Focus on dominant speaker
|
||||||
mic_noise_suppression: false, // Noise suppression using RNNoise
|
mic_noise_suppression: true, // Noise suppression using RNNoise
|
||||||
video_fps: 0, // default 1280x768 30fps
|
video_fps: 0, // default 1280x768 30fps
|
||||||
screen_optimization: 1, // default detail (1): For high fidelity (screen sharing with text/graphics) || motion (2): For high frame rate (video playback, game streaming)
|
screen_optimization: 1, // default detail (1): For high fidelity (screen sharing with text/graphics) || motion (2): For high frame rate (video playback, game streaming)
|
||||||
screen_fps: 3, // default 1920x1080 15fps
|
screen_fps: 3, // default 1920x1080 15fps
|
||||||
|
|||||||
@@ -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 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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 2.0.08
|
* @version 2.0.09
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -5765,7 +5765,7 @@ function showAbout() {
|
|||||||
position: 'center',
|
position: 'center',
|
||||||
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
|
imageUrl: BRAND.about?.imageUrl && BRAND.about.imageUrl.trim() !== '' ? BRAND.about.imageUrl : image.about,
|
||||||
customClass: { image: 'img-about' },
|
customClass: { image: 'img-about' },
|
||||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v2.0.08',
|
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v2.0.09',
|
||||||
html: `
|
html: `
|
||||||
<br />
|
<br />
|
||||||
<div id="about">
|
<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 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
|
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||||
* @version 2.0.08
|
* @version 2.0.09
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1822,7 +1822,7 @@ class RoomClient {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (audio) {
|
if (audio) {
|
||||||
console.log('AUDIO ENABLE OPUS');
|
console.log('AUDIO ENABLE OPUS (channelCount: 2)');
|
||||||
params.codecOptions = {
|
params.codecOptions = {
|
||||||
opusStereo: true,
|
opusStereo: true,
|
||||||
opusDtx: true,
|
opusDtx: true,
|
||||||
@@ -2220,9 +2220,9 @@ class RoomClient {
|
|||||||
const audioConstraints = {
|
const audioConstraints = {
|
||||||
echoCancellation: true,
|
echoCancellation: true,
|
||||||
autoGainControl: true,
|
autoGainControl: true,
|
||||||
noiseSuppression: false,
|
noiseSuppression: false, // Disable using the built-in RNNoise suppression
|
||||||
sampleRate: 48000,
|
sampleRate: 48000,
|
||||||
channelCount: 2, // Stereo for better audio quality
|
channelCount: 1, // Stereo for better audio quality
|
||||||
};
|
};
|
||||||
|
|
||||||
if (deviceId) audioConstraints.deviceId = { exact: deviceId };
|
if (deviceId) audioConstraints.deviceId = { exact: deviceId };
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم