src/view/home/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/view/home/index.vue
@@ -614,12 +614,12 @@ }, // 获取视频地址 async getVideoUrl(carId) { this.carId = carId; try { const res = await getRealVideo({ id: carId }); // 将RTSP流转换为FLV流 this.serverIp = res.serverIp; this.serverPort = res.serverPort; this.carId = carId; } catch (error) { console.error("获取视频地址失败", error); return {};