@ray-js/ray-ipc-player 2.0.18-beta-8 → 2.0.19-beta-beta-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.
Files changed (2) hide show
  1. package/lib/index.js +3 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -17,7 +17,6 @@ const Player = props => {
17
17
  onChangeStreamStatus,
18
18
  onPlayerTap,
19
19
  onZoomChange,
20
- onSessionDidDisconnected,
21
20
  onCameraPreviewFailure,
22
21
  onCameraNotifyWeakNetwork,
23
22
  onInitPreview,
@@ -110,6 +109,7 @@ const Player = props => {
110
109
 
111
110
  // 设备离线、隐私模式
112
111
  useEffect(() => {
112
+ console.log(onlineStatus, 'onlineStatus');
113
113
  setPlayState(d => {
114
114
  d.deviceOnlineState = onlineStatus;
115
115
  d.errorState = privateState;
@@ -145,6 +145,8 @@ const Player = props => {
145
145
 
146
146
  // 创建ipc实例
147
147
  const createIpcCtx = () => {
148
+ console.log('创建ipc实例');
149
+ console.log(onCtx, 'onCtx');
148
150
  onCtx && onCtx({
149
151
  ctx: ipcCtx.current,
150
152
  retry
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-player",
3
- "version": "2.0.18-beta-8",
3
+ "version": "2.0.19-beta-beta-1",
4
4
  "description": "ray小程序播放器",
5
5
  "keywords": [
6
6
  "tuya-miniapp",