@ray-js/ipc-player-integration 0.0.1-beta-28 → 0.0.1-beta-29
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.
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
.ipc-player-plugin-voice-intercom {
|
|
4
4
|
background: var(--ipc-player-plugin-voice-bg, radial-gradient(77% 77% at 34% 28%, #FF997C 0%, #FF592A 99%));
|
|
5
|
-
width:
|
|
6
|
-
height:
|
|
7
|
-
border-radius:
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100%;
|
|
7
|
+
border-radius:50%;
|
|
8
8
|
display: flex;
|
|
9
9
|
justify-content: center;
|
|
10
10
|
align-items: center;
|
package/lib/ui/ui.js
CHANGED
|
@@ -275,12 +275,6 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
|
|
|
275
275
|
,
|
|
276
276
|
onZoomChange: data => {
|
|
277
277
|
console.log(`zoomChange事件: ${JSON.stringify(data)}`);
|
|
278
|
-
// ty.showToast({
|
|
279
|
-
// title: `zoomChange事件: ${JSON.stringify(data)}`,
|
|
280
|
-
// });
|
|
281
|
-
// setTimeout(() => {
|
|
282
|
-
// ty.hideToast();
|
|
283
|
-
// }, 3000);
|
|
284
278
|
},
|
|
285
279
|
onCameraPreviewFailure: data => {
|
|
286
280
|
console.log(`onCameraPreviewFailure事件: ${JSON.stringify(data)}`);
|
|
@@ -293,12 +287,6 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
|
|
|
293
287
|
},
|
|
294
288
|
onCameraNotifyWeakNetwork: data => {
|
|
295
289
|
console.log(`onCameraNotifyWeakNetwork: ${JSON.stringify(data)}`);
|
|
296
|
-
// ty.showToast({
|
|
297
|
-
// title: `onCameraNotifyWeakNetwork: ${JSON.stringify(data)}`,
|
|
298
|
-
// });
|
|
299
|
-
// setTimeout(() => {
|
|
300
|
-
// ty.hideToast();
|
|
301
|
-
// }, 3000);
|
|
302
290
|
},
|
|
303
291
|
clarity: resolution === 'HD' ? 'hd' : 'normal',
|
|
304
292
|
privateState: privateState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/ipc-player-integration",
|
|
3
|
-
"version": "0.0.1-beta-
|
|
3
|
+
"version": "0.0.1-beta-29",
|
|
4
4
|
"description": "IPC 播放器功能集成",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"files": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@ray-js/ipc-ptz-zoom": "0.0.2-beta-4",
|
|
37
37
|
"@ray-js/panel-sdk": "^1.13.1",
|
|
38
|
-
"@ray-js/ray-ipc-player": "2.0.20-beta-
|
|
38
|
+
"@ray-js/ray-ipc-player": "2.0.20-beta-4",
|
|
39
39
|
"@ray-js/ray-ipc-utils": "1.1.0-beta-12",
|
|
40
40
|
"@ray-js/svg": "0.2.0",
|
|
41
41
|
"clsx": "^1.2.1",
|