Skip to content

Commit

Permalink
[mirotalksfu] - set default mic auto gain to true
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jan 1, 2025
1 parent bbaec91 commit 242252e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,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.6.70
* @version 1.6.71
*
*/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.6.70",
"version": "1.6.71",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion public/js/LocalStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class LocalStorage {
moderator_chat_cant_chatgpt: false, // Everyone can't chat with ChatGPT
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: false,
mic_auto_gain_control: true,
mic_echo_cancellations: true,
mic_noise_suppression: true,
mic_sample_rate: 0, // 0: 48000 Hz 1: 44100 Hz
Expand Down
2 changes: 1 addition & 1 deletion public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.70
* @version 1.6.71
*
*/

Expand Down
3 changes: 2 additions & 1 deletion public/js/RoomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.70
* @version 1.6.71
*
*/

Expand Down Expand Up @@ -1548,6 +1548,7 @@ class RoomClient {
getAudioConstraints(deviceId) {
let constraints = {
audio: {
autoGainControl: true,
echoCancellation: true,
noiseSuppression: true,
deviceId: deviceId,
Expand Down

0 comments on commit 242252e

Please sign in to comment.