user13558124
user13558124

Reputation:

Disabling Echo Cancellation in WebRTC SDP

Is it possible for me to set noisesuppression=false; echocancellation=false in the WebRTC SDP? I know I can also do it through the GetUserMedia request, but it seems to only use those settings under ideal circumstances.

For example:

 answer.sdp = answer.sdp.replace('useinbandfec=1', 'cbr=1; maxaveragebitrate=510000; noisesuppression=false; echocancellation=false');

would that work?

Thanks!

Upvotes: 0

Views: 765

Answers (1)

Philipp Hancke
Philipp Hancke

Reputation: 17275

The line you are modifying is for the opus codec which does not have parameters for noise suppression or echo cancellation, see here for a list of parameters.

You can not put random stuff in the SDP.

Upvotes: 1

Related Questions