Microphone Feedback in android device

Adish

New Member
Hi I am facing an issue with android device.. When the call is in loudspeaker there is a lot of feedback when two people are talking to each other is there any way to eliminate the feedback?
 

Max

Administrator
Staff member
Good day.
In WebSDK applications, use voice speaker or headset to eliminate echo
In Android SDK, try to use googEchoCancellation, googNoiseSupression parameters as shown in Phone example
Code:
                    CallOptions callOptions = new CallOptions(mCalleeView.getText().toString());
                    AudioConstraints audioConstraints = callOptions.getConstraints().getAudioConstraints();
                    MediaConstraints mediaConstraints = audioConstraints.getMediaConstraints();

                    mediaConstraints.optional.add(
                            new MediaConstraints.KeyValuePair("googEchoCancellation", Boolean.toString(googEchoCancellation.isChecked())));
                    mediaConstraints.optional.add(
                            new MediaConstraints.KeyValuePair("googAutoGainControl", Boolean.toString(googAutoGainControl.isChecked())));
                    mediaConstraints.optional.add(
                            new MediaConstraints.KeyValuePair("googNoiseSupression", Boolean.toString(googNoiseSupression.isChecked())));
                    mediaConstraints.optional.add(
                            new MediaConstraints.KeyValuePair("googHighpassFilter", Boolean.toString(googHighpassFilter.isChecked())));
                    mediaConstraints.optional.add(
                            new MediaConstraints.KeyValuePair("googEchoCancellation2", Boolean.toString(googEchoCancellation2.isChecked())));
                    mediaConstraints.optional.add(
                            new MediaConstraints.KeyValuePair("googAutoGainControl2", Boolean.toString(googAutoGainControl2.isChecked())));
                    mediaConstraints.optional.add(
                            new MediaConstraints.KeyValuePair("googNoiseSuppression2", Boolean.toString(googNoiseSuppression2.isChecked())));
 
Last edited:

Max

Administrator
Staff member
Good day.
How would you implement this for iOS?
googEchoCancellation and another constraints are probably not supported in iOS, so we raised the ticket WCS-3036 to investigate how to integrate echo cancellation to iOS SDK. Will let you know results here.
 
Top