@reactoo/watchtogether-sdk-js 2.5.64 → 2.5.67

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.64",
3
+ "version": "2.5.67",
4
4
  "description": "Javascript SDK for Reactoo",
5
5
  "main": "src/index.js",
6
6
  "unpkg": "dist/watchtogether-sdk.min.js",
@@ -594,11 +594,6 @@ const syncModule = function ({room, emitter} = {}) {
594
594
  room.off('addLocalParticipant', handleAddLocalParticipant);
595
595
  room.off('addRemoteParticipant', handleAddRemoteParticipant);
596
596
  room.off('data', parseDataEvents);
597
-
598
- if(typeof _playerInterface?.destroy === 'function') {
599
- _playerInterface?.destroy()
600
- }
601
-
602
597
  _playerInterface = null;
603
598
 
604
599
  _emitter.clear();
@@ -303,7 +303,7 @@ class RoomSession {
303
303
  case 'participant':
304
304
  return 'removeRemoteParticipant';
305
305
  case 'talkback':
306
- return 'addRemoteTalkback';
306
+ return 'removeRemoteTalkback';
307
307
  case 'monitor':
308
308
  return 'removeRemoteTalkback';
309
309
  case 'observer':