[mirotalksfu] - improve audioConstraints
هذا الالتزام موجود في:
@@ -78,7 +78,7 @@ let BRAND = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: '<strong>WebRTC SFU v1.9.95</strong>',
|
||||
title: '<strong>WebRTC SFU v1.9.96</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.9.95
|
||||
* @version 1.9.96
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -5809,7 +5809,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.9.95',
|
||||
title: BRAND.about?.title && BRAND.about.title.trim() !== '' ? BRAND.about.title : 'WebRTC SFU v1.9.96',
|
||||
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.9.95
|
||||
* @version 1.9.96
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -2217,10 +2217,18 @@ class RoomClient {
|
||||
// ####################################################
|
||||
|
||||
getAudioConstraints(deviceId) {
|
||||
const audioConstraints = deviceId ? { deviceId: { exact: deviceId } } : true;
|
||||
const audioConstraints = {
|
||||
echoCancellation: true,
|
||||
autoGainControl: true,
|
||||
noiseSuppression: false,
|
||||
sampleRate: 48000,
|
||||
channelCount: 1,
|
||||
};
|
||||
|
||||
if (deviceId) audioConstraints.deviceId = { exact: deviceId };
|
||||
|
||||
return {
|
||||
audio: audioConstraints,
|
||||
video: false,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم