Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCP Always Using Microphone #478

Open
owaink opened this issue Oct 1, 2021 · 10 comments
Open

CCP Always Using Microphone #478

owaink opened this issue Oct 1, 2021 · 10 comments

Comments

@owaink
Copy link

owaink commented Oct 1, 2021

Several of our support staff have noticed that the embedded CCP is always using their microphone as indicated by the red dot on the tab in Chrome. This is relatively recent with our earliest report coming in in mid September. Our support staff use a Bluetooth headset that drops its audio quality when the microphone is enabled because of shared bandwidth, so they are currently dealing with permanently degraded audio. This is reproduceable on Windows and Mac, all web browsers. Other pages that use the microphone do not have this issue and only use the microphone when it is necessary.

It looks like the responsible code is in softphone.js in the setMicrophoneDevice function. It looks like when the audio device is set up a stream is opened for it and that single stream is used for the duration of the life of the device instead of starting and stopping a stream for each phone call.

If this could be addressed our entire staff would greatly appreciate it!

@mschersten
Copy link
Contributor

We are also experiencing this. Not really an issue except that with the red dot always on they can't use it as an indicator that they are on an actual call.

@Christian-Sesta
Copy link

Experiencing this as well

@marcin-m
Copy link

Same thing (always on microphone) is now a case for default CCP in EU Frankfurt (seems to start in November 2023). Agents report it a problem - at least one of them says there is constant "click-like" sound which strains the ears.

@Solomon-m
Copy link

Hello
We are also experiencing this issue with custom CCP.

@jindalvikas11
Copy link

Our agents also reported same issue

@maik-idealo
Copy link

we have the same issue

@andywang219
Copy link
Contributor

Hi, this is due to a feature we introduced called EarlyGUM. This feature helps us capture a fresh user media before setting up a voice contact and this also helps reduce the latency when setting up the RTC session.

You can disable this by setting allowEarlyGum to false in your initCCP params.
Please see: https://github.com/amazon-connect/amazon-connect-streams/blob/master/Documentation.md#:~:text=initSoftphoneManager(%7B%20VDIPlatform%3A%20%22CITRIX%22%20%7D)-,allowEarlyGum,-%3A%20If%20true%20or

@ColoradoKiwi
Copy link

Hi - one question on this...
What are the negatives if we do set allowEarlyGum to false. You mentioned the positives above (which I get) - just wanting to know, if we find we have to go to false, what the impacts would be. Is 'false' essentially the old/previous behavior prior to this option being introduced? Just wanting to understand the scenario's / recommendations, as there's not much about it in the docs.

Thanks for any further insight.

@andywang219
Copy link
Contributor

andywang219 commented Feb 9, 2024

Is 'false' essentially the old/previous behavior prior to this option being introduced?

This is correct, you will just revert back to the previous behavior. This will mean that media will be captured before the call is connected, which would introduce some latency in setting up the call.

@criostre
Copy link

criostre commented May 8, 2024

@andywang219 do you know when 'allowEarlyGum' feature was introduced in amazon-connect-streams ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests