视频 geoserver地址 和 脚本加载优化

This commit is contained in:
mmc
2026-05-22 09:32:36 +08:00
parent 021d3cf384
commit 0d5fa89150
9 changed files with 25 additions and 12 deletions

View File

@@ -111,7 +111,7 @@ export default function DeviceStatusPage({
const { video: robotVideo, error, ready } = useWebRTCPlayer(
serialNumber || '',
`webrtc://ri.satabot.com/live/livestream/${serialNumber}`,
`webrtc://1.95.137.212/live/livestream/${serialNumber}`,
);
const getVal = (val) => val === "no_rain" ? "无" : (val || '-');
@@ -320,7 +320,7 @@ export default function DeviceStatusPage({
<div
style={{
height: 450,
//height: 450,
borderRadius: 8,
overflow: 'hidden',
display: 'flex',