Merge branch 'main' of http://123.132.248.154:10000/gitY/LinYeFangHuo
commit
f34752671c
|
|
@ -108,11 +108,11 @@
|
|||
if (rs.method == 'live_start_push' && startTidList.includes(rs.tid)) {
|
||||
if (rs.data.result == 0) {
|
||||
// message.success('开始直播成功');
|
||||
airportPlayer.src(live_info.url + liveData.value.sn + '.flv');
|
||||
airportPlayer.src(live_info.url + liveData.value.psn + '.flv');
|
||||
airportPlayer.play();
|
||||
} else if (rs.data.result == 513003) {
|
||||
// message.success('直播已开启');
|
||||
airportPlayer.src(live_info.url + liveData.value.sn + '.flv');
|
||||
airportPlayer.src(live_info.url + liveData.value.psn + '.flv');
|
||||
airportPlayer.play();
|
||||
} else {
|
||||
// message.error('开始直播失败,' + errorName(rs.data.result));
|
||||
|
|
|
|||
|
|
@ -74,6 +74,7 @@
|
|||
const uavList = ref([])
|
||||
const showIndex = ref(0)
|
||||
const showUav = ref({})
|
||||
let player;
|
||||
|
||||
const { w, h } = toRefs(props.chartConfig.attr);
|
||||
const selectItem = ref('')
|
||||
|
|
@ -166,7 +167,6 @@
|
|||
}, 1000)
|
||||
|
||||
});
|
||||
let player;
|
||||
const playVideo = (item) => {
|
||||
player = TCPlayer('player-drone-live', {
|
||||
sources: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue