飞行控制中显示ai巡检视频

main
zhufu 2026-01-20 17:02:07 +08:00
parent 01f9eb8b85
commit c03514e8ed
2 changed files with 14 additions and 0 deletions

View File

@ -990,6 +990,19 @@
console.log(data);
pointData.value = data;
});
// ai
EventBus.on('InspectionToFlightControl', () => {
let testingCode = 'http://123.132.248.154:8800/flv/live/' + airPortStoreVal.getUAV.sn + '1.flv';
player = TCPlayer('player-container-id-live', {
sources: [
{
src: testingCode,
},
],
licenseUrl: testingCode,
});
player.play();
})
});
onUnmounted(() => {
window.clearInterval(timer);

View File

@ -179,6 +179,7 @@
console.log(res);
createMessage.success('操作成功');
option.status.hide = true;
EventBus.emit('InspectionToFlightControl',true)
});
};
onMounted(() => {