@whereby.com/core 0.24.3 → 0.25.1

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/dist/index.cjs CHANGED
@@ -45,7 +45,7 @@ const createReactor = (selectors, callback) => {
45
45
  });
46
46
  };
47
47
 
48
- const coreVersion = "0.24.3";
48
+ const coreVersion = "0.25.1";
49
49
 
50
50
  const initialState$f = {
51
51
  isNodeSdk: false,
@@ -2143,6 +2143,13 @@ startAppListening({
2143
2143
  rtcManager === null || rtcManager === void 0 ? void 0 : rtcManager.addNewStream(stream.id, stream, false, true);
2144
2144
  },
2145
2145
  });
2146
+ startAppListening({
2147
+ actionCreator: doAppStop,
2148
+ effect: (_, { getState }) => {
2149
+ const rtcManager = selectRtcManager(getState());
2150
+ rtcManager === null || rtcManager === void 0 ? void 0 : rtcManager.rtcStatsDisconnect();
2151
+ },
2152
+ });
2146
2153
  startAppListening({
2147
2154
  actionCreator: stopScreenshare,
2148
2155
  effect: ({ payload }, { getState }) => {