飞行控制中显示ai巡检视频
parent
01f9eb8b85
commit
c03514e8ed
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -179,6 +179,7 @@
|
|||
console.log(res);
|
||||
createMessage.success('操作成功');
|
||||
option.status.hide = true;
|
||||
EventBus.emit('InspectionToFlightControl',true)
|
||||
});
|
||||
};
|
||||
onMounted(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue