@reactoo/watchtogether-sdk-js 2.7.13 → 2.7.15

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.13",
3
+ "version": "2.7.15",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -210,11 +210,11 @@ let room = function () {
210
210
 
211
211
  },
212
212
 
213
- roomRecorder: ({roomId, operation = 'get', config, outputs, destinationIds, screenWidth, screenHeight, payload} = {}) => {
213
+ roomRecorder: ({roomId, operation = 'get', config, outputs, destinationIds, destinations, screenWidth, screenHeight, payload} = {}) => {
214
214
  return this.__privates.auth.__client
215
215
  .then(client => client.apis.wt.recordRoom({}, {
216
216
  requestBody: {
217
- roomId, operation, config, outputs, destinationIds, screenWidth, screenHeight, payload
217
+ roomId, operation, config, outputs, destinationIds, destinations, screenWidth, screenHeight, payload
218
218
  }
219
219
  }))
220
220
  },
@@ -10,8 +10,8 @@ const getUserMediaConstraints = ({
10
10
  echoCancellation = true,
11
11
  noiseSuppression = true,
12
12
  channelCount = 1,
13
- width = 1280,
14
- height = 720,
13
+ width = 1920,
14
+ height = 1080,
15
15
 
16
16
  }) => {
17
17
 
@@ -102,8 +102,8 @@ export default {
102
102
  channelCount = 1,
103
103
  muteAudio = false,
104
104
  muteVideo = false,
105
- width = 1280,
106
- height = 720
105
+ width = 1920,
106
+ height = 1080
107
107
  } = {}
108
108
  ) {
109
109