Jump to content
  • 0

Add Noise Suppression and Echo cancellation


robertosamayoa
 Share

Question

2 answers to this question

Recommended Posts

  • 0
On 2/4/2023 at 6:34 PM, robertosamayoa said:

Hi, where i can set these?

 

regards

Hi @robertosamayoa

 

function changeAudioConstraints() {
		var constraint = { audio: {} };
		switch(this.name) {
			case 'noiseSuppression': {
				constraint.audio.noiseSuppression = this.checked;
				break;
			}
			case 'echoCancellation': {
				constraint.audio.echoCancellation = this.checked;
				break;
			}
			default: {
				break;
			}
		}
		webRTCAdaptor.applyConstraints(constraint);
	}

Have a look here

  • Like 2
Link to comment
Share on other sites

  • 0
4 hours ago, rahul7827 said:

Hi @robertosamayoa

 

function changeAudioConstraints() {
		var constraint = { audio: {} };
		switch(this.name) {
			case 'noiseSuppression': {
				constraint.audio.noiseSuppression = this.checked;
				break;
			}
			case 'echoCancellation': {
				constraint.audio.echoCancellation = this.checked;
				break;
			}
			default: {
				break;
			}
		}
		webRTCAdaptor.applyConstraints(constraint);
	}

Have a look here

perfect, these made the magic here, thanks. 

Link to comment
Share on other sites

 Share

×
×
  • Create New...