@reactoo/watchtogether-sdk-js 2.6.35 → 2.6.37

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.6.35",
3
+ "version": "2.6.37",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -328,12 +328,12 @@ let roomSession = function ({roomId, pinHash, role}, room, wt) {
328
328
  return room.unpublishLocal();
329
329
  },
330
330
 
331
- toggleAudio: (value) => {
332
- return room.toggleAudio(value);
331
+ toggleAudio: (value, source) => {
332
+ return room.toggleAudio(value, source);
333
333
  },
334
334
 
335
- toggleVideo: () => {
336
- return room.toggleVideo(value);
335
+ toggleVideo: (value, source) => {
336
+ return room.toggleVideo(value, source);
337
337
  },
338
338
 
339
339
  selectSubStream: (handleId, substream) => {