| | |
| | | } |
| | | // 下拉框选择变化 |
| | | const selectChange = async (e) => { |
| | | await closeFly() |
| | | setTimeout(async () => { |
| | | await flyOnStart() |
| | | }, 500) |
| | | // await closeFly() |
| | | // setTimeout(async () => { |
| | | await flyOnStart() |
| | | // }, 500) |
| | | } |
| | | // 关闭设备直播 |
| | | const onClose = async () => { |
| | |
| | | } |
| | | // 飞机设备播放 |
| | | const flyOnStart = async () => { |
| | | aircraftUrl.value = '' |
| | | const videoId = deviceInfo.dock.basic_osd?.sub_device?.device_sn + '/' + aircraSelected.value + '/' + 'normal-0' |
| | | const streamId = deviceInfo.dock.basic_osd?.sub_device?.device_sn + '-' + aircraSelected.value + '-' + 'normal-0' |
| | | const liveURL = config.rtmpURL + streamId |