@ray-js/ipc-player-integration 0.0.29-beta.19 → 0.0.29-beta.20
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 +1 -2
- package/package.json +1 -1
package/lib/ui/ui.js
CHANGED
|
@@ -7,7 +7,7 @@ import { unstable_batchedUpdates as batchedUpdates } from '@ray-core/ray';
|
|
|
7
7
|
import clsx from 'clsx';
|
|
8
8
|
import IPCPlayer from '@ray-js/ray-ipc-player';
|
|
9
9
|
import { ipcTTTOperatorLog } from '@ray-js/ray-ipc-utils';
|
|
10
|
-
import { PlayState, PlayerStreamStatus, MultiCameraScreenMode
|
|
10
|
+
import { PlayState, PlayerStreamStatus, MultiCameraScreenMode } from '../interface';
|
|
11
11
|
import { useCtx } from '../ctx/ctx.composition';
|
|
12
12
|
import { useStore, updateAtom } from '../ctx/store';
|
|
13
13
|
import { UIEventContext } from './context';
|
|
@@ -387,7 +387,6 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
|
|
|
387
387
|
if (screenType !== 'full') return;
|
|
388
388
|
hasInitializedLandscapeMultiRef.current = true;
|
|
389
389
|
instance.multiCameraCtx.setScreenMode(MultiCameraScreenMode.landscape);
|
|
390
|
-
instance.multiCameraCtx.setLayoutStyle(MultiCameraLayoutStyle.grid);
|
|
391
390
|
}, [screenType, instance, layoutStyle]);
|
|
392
391
|
|
|
393
392
|
/* ---------------------------------多目相关副作用统一处理结束----------------------------------------- */
|