徐景良 2025-11-20 12:04:51 +08:00
commit f34752671c
2 changed files with 3 additions and 3 deletions

View File

@ -108,11 +108,11 @@
if (rs.method == 'live_start_push' && startTidList.includes(rs.tid)) { if (rs.method == 'live_start_push' && startTidList.includes(rs.tid)) {
if (rs.data.result == 0) { if (rs.data.result == 0) {
// message.success(''); // message.success('');
airportPlayer.src(live_info.url + liveData.value.sn + '.flv'); airportPlayer.src(live_info.url + liveData.value.psn + '.flv');
airportPlayer.play(); airportPlayer.play();
} else if (rs.data.result == 513003) { } else if (rs.data.result == 513003) {
// message.success(''); // message.success('');
airportPlayer.src(live_info.url + liveData.value.sn + '.flv'); airportPlayer.src(live_info.url + liveData.value.psn + '.flv');
airportPlayer.play(); airportPlayer.play();
} else { } else {
// message.error(',' + errorName(rs.data.result)); // message.error(',' + errorName(rs.data.result));

View File

@ -74,6 +74,7 @@
const uavList = ref([]) const uavList = ref([])
const showIndex = ref(0) const showIndex = ref(0)
const showUav = ref({}) const showUav = ref({})
let player;
const { w, h } = toRefs(props.chartConfig.attr); const { w, h } = toRefs(props.chartConfig.attr);
const selectItem = ref('') const selectItem = ref('')
@ -166,7 +167,6 @@
}, 1000) }, 1000)
}); });
let player;
const playVideo = (item) => { const playVideo = (item) => {
player = TCPlayer('player-drone-live', { player = TCPlayer('player-drone-live', {
sources: [ sources: [