Skip to content

Commit

Permalink
Working on #105: Trying to use Google Hangouts audio constraints for …
Browse files Browse the repository at this point in the history
…Echo Cancellation
  • Loading branch information
Antonis Tsakiridis committed May 9, 2017
1 parent c3285ac commit d8a4110
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/RestCommWebClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,13 +411,16 @@ function Connection(device, status)
// Default audio constraints to use for better Echo Cancellation behaviour. These are taken from Google Hangouts. Notice that 'Experimental' ones don't seem to take effect
Connection.defaultAudioConstraints = {
googEchoCancellation: true,
googExperimentalEchoCancellation: true,
//googExperimentalEchoCancellation: true,
googEchoCancellation2: true,
googAutoGainControl: true,
googExperimentalAutoGainControl: true,
//googExperimentalAutoGainControl: true,
googAutoGainControl2: true,
googNoiseSuppression: true,
googHighpassFilter: true,
googAudioMirroring: false,
googExperimentalNoiseSuppression: true,
//googExperimentalNoiseSuppression: true,
googNoiseSuppression2: true,
deviceId: "default"
};

Expand Down

0 comments on commit d8a4110

Please sign in to comment.