@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
package/src/models/room.js
CHANGED
|
@@ -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
|
},
|
package/src/models/utils.js
CHANGED
|
@@ -10,8 +10,8 @@ const getUserMediaConstraints = ({
|
|
|
10
10
|
echoCancellation = true,
|
|
11
11
|
noiseSuppression = true,
|
|
12
12
|
channelCount = 1,
|
|
13
|
-
width =
|
|
14
|
-
height =
|
|
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 =
|
|
106
|
-
height =
|
|
105
|
+
width = 1920,
|
|
106
|
+
height = 1080
|
|
107
107
|
} = {}
|
|
108
108
|
) {
|
|
109
109
|
|