@reactoo/watchtogether-sdk-js 2.8.44 → 2.8.45

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.8.44",
3
+ "version": "2.8.45",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "dist/watchtogether-sdk.min.js",
6
6
  "module": "dist/watchtogether-sdk.min.js",
@@ -2372,7 +2372,7 @@ class RoomSession {
2372
2372
  this._log('oniceconnectionstatechange: iceConnectionState === failed');
2373
2373
  this.#iceRestart(handleId);
2374
2374
  }
2375
- if (config.pc.connectionState === 'disconnected') {
2375
+ if (config.pc.iceConnectionState === 'disconnected') {
2376
2376
  this._log('oniceconnectionstatechange: connectionState === disconnected');
2377
2377
  // TODO: keyframe request?
2378
2378
  }