@ray-js/ipc-player-integration 0.0.1-beta-73 → 0.0.1-beta-75
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 +5 -35
- package/package.json +1 -1
package/lib/ui/ui.js
CHANGED
|
@@ -440,19 +440,10 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
|
|
|
440
440
|
console.log(`onCameraNotifyWeakNetwork: ${JSON.stringify(data)}`);
|
|
441
441
|
},
|
|
442
442
|
clarity: decodeClarityDic[resolution],
|
|
443
|
-
onZoomChange: onZoomChange
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
//
|
|
447
|
-
// ? 'fillCrop'
|
|
448
|
-
// : 'contain'
|
|
449
|
-
// : landscapeMode === 'standard'
|
|
450
|
-
// ? 'contain'
|
|
451
|
-
// : 'fillCrop'
|
|
452
|
-
// }
|
|
453
|
-
,
|
|
454
|
-
objectFit: "fillCrop",
|
|
455
|
-
scaleMultiple: scaleMultiple
|
|
443
|
+
onZoomChange: onZoomChange,
|
|
444
|
+
objectFit: screenType === 'vertical' ? playerFit === 'contain' ? 'fillCrop' : 'contain' : landscapeMode === 'standard' ? 'contain' : 'fillCrop',
|
|
445
|
+
scaleMultiple: 0
|
|
446
|
+
// objectFit="fillCrop"
|
|
456
447
|
// scaleMultiple={-100}
|
|
457
448
|
// 安卓横屏问题
|
|
458
449
|
// ptzControllable={screenType === 'vertical'}
|
|
@@ -518,26 +509,5 @@ export const IPCPlayerIntegration = /*#__PURE__*/React.memo(props => {
|
|
|
518
509
|
className: clsx('absolute-item-container')
|
|
519
510
|
})));
|
|
520
511
|
});
|
|
521
|
-
})()
|
|
522
|
-
style: {
|
|
523
|
-
position: 'absolute',
|
|
524
|
-
top: '30px',
|
|
525
|
-
right: '20px',
|
|
526
|
-
backgroundColor: 'red'
|
|
527
|
-
}
|
|
528
|
-
}, "scaleMultiple: ", scaleMultiple), /*#__PURE__*/React.createElement(View, {
|
|
529
|
-
style: {
|
|
530
|
-
position: 'absolute',
|
|
531
|
-
top: '50px',
|
|
532
|
-
right: '20px',
|
|
533
|
-
backgroundColor: 'blue'
|
|
534
|
-
}
|
|
535
|
-
}, "\u5C4F\u5E55\u65B9\u5411: ", screenType), /*#__PURE__*/React.createElement(View, {
|
|
536
|
-
style: {
|
|
537
|
-
position: 'absolute',
|
|
538
|
-
top: '100px',
|
|
539
|
-
right: '20px',
|
|
540
|
-
backgroundColor: 'blue'
|
|
541
|
-
}
|
|
542
|
-
}, "\u5F53\u524D\u6BD4\u4F8B: ", currentZoomLevel)));
|
|
512
|
+
})()));
|
|
543
513
|
});
|