|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Author: JC9527
|
|
|
|
|
* @Date: 2024-01-09 23:08:15
|
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
|
* @LastEditTime: 2024-05-28 08:50:37
|
|
|
|
|
* @LastEditTime: 2024-07-05 08:56:16
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="map-main">
|
|
|
|
@ -1478,8 +1478,8 @@ export default {
|
|
|
|
|
// 监控视频上墙
|
|
|
|
|
monitorVideos(status){
|
|
|
|
|
// this.$refs.videoWall.open();
|
|
|
|
|
if(status == 1) {
|
|
|
|
|
getPreviewURLs({protocol:'hls',cameraIndexCode:this.monitoringInfo.info.cameraIndexCode,expand:"transcode=1"}).then(res=>{
|
|
|
|
|
if(status == 1) { // expand:"transcode=1"
|
|
|
|
|
getPreviewURLs({protocol:'hls',cameraIndexCode:this.monitoringInfo.info.cameraIndexCode,streamType:"1",transmode:"1"}).then(res=>{
|
|
|
|
|
if(res.code == 200) {
|
|
|
|
|
// console.log(res,'视频地址获取');
|
|
|
|
|
// this.$refs.aloneVideo.open(res.msg);
|
|
|
|
@ -1494,7 +1494,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 转发,复制视频地址
|
|
|
|
|
copyUrl(){
|
|
|
|
|
getPreviewURLs({protocol:'hls',cameraIndexCode:this.monitoringInfo.info.cameraIndexCode,expand:"transcode=1"}).then(res=>{
|
|
|
|
|
getPreviewURLs({protocol:'hls',cameraIndexCode:this.monitoringInfo.info.cameraIndexCode,streamType:"1",transmode:"1"}).then(res=>{
|
|
|
|
|
if(res.code == 200) {
|
|
|
|
|
// this.$refs.aloneVideo.open(res.msg);
|
|
|
|
|
var aux = document.createElement("input");
|
|
|
|
|