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.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));
|
||||||
|
|
|
||||||
|
|
@ -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: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue