Page 1 of 1

Viciphone webrtc mic volume level too high,auto gain control

PostPosted: Fri Feb 07, 2020 5:30 am
by yuriy.pogrebnyak
Hello

We use ViciDial cluster with WebRTC settings
vicibox v 8.1.2 101002
VERSION: 2.14-717a
BUILD: 190724-1603
Asterisk 13.27.0-vici
Viciphone version probably 1.0

Actually all works fine. But we noticed one critical for agents issue:
when agent speek loudly - microphone volume level changes automatically. We work on Windows 10 OS through Chrome brouser.

We suspect that mic issue conected with Auto Gain Conctrol with WebRTC. Because when agent makes logout from ViciDial, mic level doesn`t change in other applications.
This function can be dissabled with such code:
Code: Select all
var constraints = {
  audio: {
    echoCancellation: false,
    noiseSuppression: false,
    autoGainControl: false,
  }
};

navigator.mediaDevices.getUserMedia(constraints)
  .then(stream => audio.srcObject = stream)
  .catch(e => log(e));


Could you tell please how to do it correctly in viciphone code. Or may be there is other way to dissable Auto Gain Conctrol? Because it makes agent`s work uncomfortable and some times our customers hear other agents who seats near the agent and hear all environment of the contact-center.

Re: Viciphone webrtc mic volume level too high,auto gain con

PostPosted: Tue Feb 11, 2020 1:29 am
by yuriy.pogrebnyak
maybe anyone notice the same behavier?
can anyone give advice on viciphone with webrtc?

Re: Viciphone webrtc mic volume level too high,auto gain con

PostPosted: Fri Feb 14, 2020 10:31 am
by dreedy
Do you have a test dialer? i think i have one haven't had to test anything out for a bit. it does sounds like a good idea.

Re: Viciphone webrtc mic volume level too high,auto gain con

PostPosted: Sat Feb 15, 2020 9:10 pm
by cvillarreal77
hi..


Currently, I have installed Viciphone 1.0 with Vicibox 9.01

and I don't have problems with audio with viciphone ... I only have one error where the agent session calls are cut off every 10 minutes, do you have that error?

try with viciphone v.2.0

https://dev.viciphone.com/v2/viciphone.php

Re: Viciphone webrtc mic volume level too high,auto gain con

PostPosted: Mon Feb 17, 2020 8:25 am
by yuriy.pogrebnyak
cvillarreal77 wrote:calls are cut off every 10 minutes, do you have that error?


No, we don`t have that error.

We have problems with sound level: when the agent speaks loudly - mic sound level decline up to -10dB in Windows settings. It happens only when the agent logged in ViciDial.
And we want to dissable autogain control, but is possible with editting Viciphone code. And there is no settings for dissabling that function.

Re: Viciphone webrtc mic volume level too high,auto gain con

PostPosted: Mon Feb 17, 2020 1:32 pm
by cvillarreal77
hi yuri..

could you show your configuration please please.. is because i have along time with this issue :)

your server are behind a nat?

Re: Viciphone webrtc mic volume level too high,auto gain con

PostPosted: Thu Feb 27, 2020 4:34 am
by yuriy.pogrebnyak
could you show your configuration please please

there are a lot of settings in ViciDial. What exactly do you want to see?

Re: Viciphone webrtc mic volume level too high,auto gain con

PostPosted: Thu Feb 27, 2020 6:38 pm
by cvillarreal77
well..

do you have a nat?

did you make configuration in the template for nat ?

Did you make any additional changes to these instructions?
https://viciphone.com/?page_id=346

did you make any configuration in rtp.conf?


I noticed that after 10 minutes you logged into the page, the status shown on the viciphone screen changes to "registered"

also happens with you?

Re: Viciphone webrtc mic volume level too high,auto gain con

PostPosted: Thu Mar 05, 2020 4:06 am
by yuriy.pogrebnyak
do you have a nat?
Did you make configuration in the template for nat ?


Can you explaine me how "nat" related to mic volume level?

Did you make any additional changes to these instructions?
https://viciphone.com/?page_id=346


All done correctly and our vicidial with webRTC and viciphone works fine, except autoadjasting mic level.

Could you tell please how to do it correctly in viciphone code. Or may be there is other way to dissable Auto Gain Conctrol?

did you read my question? here is additional description for better understanding:

we tested this issue in several brausers(Chrome, Opera, Mazzila) where was only one tab Vicidial where was logged in as agent and that agent was ready to make or recive calls (was "first member in conferance"). So there are two kinds of this issue:
1) first - during the waiting call time when agent do nothing after the minutes mic level in windows settings changes automaticaly from 0 to +6dB in Windows mic settings
2)second - during the call. if agent speaks too loud (creeming) - mic level changes from 0 to -6dB automaticaly

and it happens only when agent is logged in into vicidial.
So we make conclusion that viciphone (like more other softphones) makes changes the mic level with auto gain control. But in other softphones (zoipper for example) it is posible to dissable that function. And we need to advice how to dissable autogain control for viciphone.