Start a conversation

Echo and noise cancellation

Javascript

If you have the implementation of your own video stream with the help of the <video/> tag, please make sure that you have disabled the audio stream from this tag.

You can also apply constraints to the audio/video streams in order to resolve this case.
https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints 
https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamConstraints#track_constraints 

How to set constraints:
https://developer.mozilla.org/en-US/docs/Web/API/Media_Streams_API/Constraints#applying_constraints 

Here is some example:

const constraints = {
audio: {echoCancellation: true,
noiseSuppression: true,
},
video: true
}
session.getUserMedia(constraints, (err, stream) => {
})

Android

Please make sure that acoustic echo cancellation is enabled. Default: true.
Here is a link to the documentation:

https://docs.quickblox.com/docs/android-video-calling-advanced#acoustic-echo-cancellation


If the issue persist, please try using the following methods:

WebRtcAudioUtils.setWebRtcBasedAcousticEchoCanceler(true);

WebRtcAudioUtils.setWebRtcBasedAutomaticGainControl(true);

WebRtcAudioUtils.setWebRtcBasedNoiseSuppressor(true);


Feel free to check our official documentation for more information that will help you to integrate QuickBlox services into your applications / projects or contact our Support team by submitting a ticket if you have any other questions.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Nikolay Zolotarov

  2. Posted
  3. Updated

Comments