@ray-js/ipc-player-integration 0.0.14 → 0.0.15

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.
Files changed (2) hide show
  1. package/lib/ui/ui.js +1 -1
  2. package/package.json +1 -1
package/lib/ui/ui.js CHANGED
@@ -173,7 +173,7 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
173
173
  /**
174
174
  * 监听退出此player
175
175
  */
176
- usePageEvent('onHide', () => {
176
+ usePageEvent('onUnload', () => {
177
177
  ipcTTTOperatorLog('hide: 调用停止录制方法');
178
178
  setRecording(false, true);
179
179
  setIntercom(false, true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ipc-player-integration",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "IPC 融合播放器",
5
5
  "main": "lib/index",
6
6
  "files": [