@reactoo/watchtogether-sdk-js 2.6.69 → 2.6.70

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.
@@ -211,15 +211,14 @@
211
211
  })
212
212
  .then(r => Instance.room.createSession({constructId, roomId:r.roomId, pinHash: r.pinHash, role:'participant', options: {
213
213
  simulcast: true,
214
- simulcastMode: {default: 'controlled', screen: 'manual'},
215
- simulcastDefaultManualSubstream: {default:2, screen: 0},
214
+ simulcastMode: {default: 'controlled', screen: 'manual'}, // controlled, manual, auto ... key is the device source (default = all)
215
+ simulcastDefaultManualSubstream: {default:2, screen: 0}, // 2 lowest quality, 0 highest quality ... key is the device source (default = all)
216
+ // those are for videowall (see that 4 fps preview for producer panel)
216
217
  simulcastBitrates: [
217
- { rid: 'l', active: true, maxBitrate: 180000, maxFramerate: 2, scaleResolutionDownBy: 3.3333333333333335, priority: "low" },
218
- { rid: 'm', active: true, maxBitrate: 800000, maxFramerate: 25, scaleResolutionDownBy: 1.3333333333333333, priority: "low" },
218
+ { rid: 'l', active: true, maxBitrate: 180000, maxFramerate: 4, scaleResolutionDownBy: 4, priority: "low" },
219
+ { rid: 'm', active: true, maxBitrate: 800000, maxFramerate: 30, scaleResolutionDownBy: 3, priority: "low" },
219
220
  { rid: 'h', active: true, maxBitrate: 1700000, maxFramerate: 30, priority: "low" }
220
221
  ],
221
- // simulcastMode: 'manual',
222
- // simulcastDefaultManualSubstream: 2 // lowest quality
223
222
  //subscriptionRules: {participant: {videoWall: [], watchTogether: []}}
224
223
  }}))
225
224
  .then(session => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactoo/watchtogether-sdk-js",
3
- "version": "2.6.69",
3
+ "version": "2.6.70",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -1628,10 +1628,6 @@ class RoomSession {
1628
1628
  }
1629
1629
  }
1630
1630
 
1631
- if(directionDecision!== 0) {
1632
- this._log('directionDecision for mid', mid, directionDecision);
1633
- }
1634
-
1635
1631
  if(directionDecision === -1) {
1636
1632
  if(currentSubstream < this.simulcastBitrates.length - 1) {
1637
1633
  this._log('switching to low res', currentSubstream + 1);