@ray-js/ipc-player-integration 0.0.13 → 0.0.14
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/lib/ui/ui.js +2 -2
- package/package.json +1 -1
package/lib/ui/ui.js
CHANGED
|
@@ -69,7 +69,8 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
|
|
|
69
69
|
setScreenType,
|
|
70
70
|
setBrandColor,
|
|
71
71
|
setVerticalMic,
|
|
72
|
-
setIntercom
|
|
72
|
+
setIntercom,
|
|
73
|
+
setRecording
|
|
73
74
|
} = instance;
|
|
74
75
|
const prevTriggerEvent = useRef();
|
|
75
76
|
/*
|
|
@@ -173,7 +174,6 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
|
|
|
173
174
|
* 监听退出此player
|
|
174
175
|
*/
|
|
175
176
|
usePageEvent('onHide', () => {
|
|
176
|
-
console.log(instance === null || instance === void 0 ? void 0 : instance.IPCPlayerInstance, 'instance?.IPCPlayerInstance ===');
|
|
177
177
|
ipcTTTOperatorLog('hide: 调用停止录制方法');
|
|
178
178
|
setRecording(false, true);
|
|
179
179
|
setIntercom(false, true);
|