@reactoo/watchtogether-sdk-js 2.7.2 → 2.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactoo/watchtogether-sdk-js",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -126,6 +126,9 @@ export default {
126
126
  hasVideo,
127
127
  aDeviceId,
128
128
  vDeviceId,
129
+ autoGainControl = false,
130
+ echoCancellation = false,
131
+ noiseSuppression = false,
129
132
  channelCount = 1,
130
133
  width = 1920,
131
134
  height = 1080,
@@ -135,6 +138,9 @@ export default {
135
138
  let audioOnlyConstraints = {
136
139
  audio: {
137
140
  ...(aDeviceId && {deviceId: {exact:aDeviceId}}),
141
+ autoGainControl,
142
+ echoCancellation,
143
+ noiseSuppression,
138
144
  channelCount
139
145
  }
140
146
  };