This commit is contained in:
2025-02-25 12:58:53 +08:00
parent c0570aef13
commit 93f90389cf
9 changed files with 122 additions and 334 deletions

View File

@@ -48,6 +48,7 @@ const handleTwoMessage = (e: any) => {
}
}
const cameraNumber = ref<Number>(0)
const ws = ref<any>(null) // WebSocket instance for camera 1
const wsTwo = ref<any>(null) // WebSocket instance for camera 2
// const ws: any = useWebSocket(handleMessage, import.meta.env.VITE_WB_CAMERA_ONE_URL)