@reactoo/watchtogether-sdk-js 2.5.70 → 2.5.71

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.5.70",
3
+ "version": "2.5.71",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -267,7 +267,7 @@ const syncModule = function ({room, emitter} = {}) {
267
267
  reject('Stalled');
268
268
  };
269
269
 
270
- console.log('Users stream is behind behind live by:',diff);
270
+ console.log('Users stream is behind behind live by:', diff);
271
271
  if(diff_target > 0) {
272
272
  _emitter.once('stalled', __);
273
273
  setExactTimeout(() => {
@@ -276,7 +276,7 @@ const syncModule = function ({room, emitter} = {}) {
276
276
  isSyncing = false;
277
277
  _emitter.off('stalled', __);
278
278
  resolve();
279
- }, (diff_target * 1000) / playbackRate, 20);
279
+ }, (diff_target * 1000) / (playbackRate - 1), 20);
280
280
  isProgrammaticallySeeked = true;
281
281
  isSyncing = true;
282
282
  _playerInterface.setPlaybackRate(playbackRate);