Ver Fonte

1、视频云查询

slowslo há 4 anos atrás
pai
commit
6be6ccd88b

+ 20 - 0
src/api/smartapplication/videoclouddevice.js

@@ -122,3 +122,23 @@ export const syncByDevice = (accountName, deviceNum) => {
     }
   })
 }
+
+export const syncByDeviceBatch = (ids) => {
+  return request({
+    url: '/api/yc_video_cloud_device/videoclouddevice/syncByDeviceBatch',
+    method: 'post',
+    params: {
+      ids,
+    }
+  })
+}
+
+export const getVideoUrlBatch = (ids) => {
+  return request({
+    url: '/api/yc_video_cloud_device/videoclouddevice/getVideoUrlBatch',
+    method: 'post',
+    params: {
+      ids,
+    }
+  })
+}

+ 2 - 2
src/components/file/cy-person-records.vue

@@ -119,8 +119,8 @@
     components: {CyImage},
     data() {
       return {
-        src: 'http://139.9.103.171:1888/miniofile/cyzhyc/c646fc69-1097-4102-b54c-27ddbc6f8afc-downloadPortrait.jpg',
-        srcList: ['http://139.9.103.171:1888/miniofile/cyzhyc/c646fc69-1097-4102-b54c-27ddbc6f8afc-downloadPortrait.jpg'],
+        src: 'https://park.nxzhsq.cn/park/miniofile/cyzhyc/c646fc69-1097-4102-b54c-27ddbc6f8afc-downloadPortrait.jpg',
+        srcList: ['https://park.nxzhsq.cn/park/miniofile/cyzhyc/c646fc69-1097-4102-b54c-27ddbc6f8afc-downloadPortrait.jpg'],
         form: {},
         detailForm: {},
         query: {},

+ 2 - 2
src/views/community/applyuser.vue

@@ -206,8 +206,8 @@
   export default {
     data() {
       return {
-        src: 'http://139.9.103.171:1888/miniofile/cyzhyc/873285bc-3d1c-496c-b0f0-09151a918ebc-ca.png',
-        url: 'http://139.9.103.171:1888/miniofile/cyzhyc/873285bc-3d1c-496c-b0f0-09151a918ebc-ca.png',
+        src: 'https://park.nxzhsq.cn/park/miniofile/cyzhyc/873285bc-3d1c-496c-b0f0-09151a918ebc-ca.png',
+        url: 'https://park.nxzhsq.cn/park/miniofile/cyzhyc/873285bc-3d1c-496c-b0f0-09151a918ebc-ca.png',
         src1: 'https://qiotapi.qinlinkeji.com/admin/pic/downloadPortrait?sessionId=admin:2c94801075fcb738017612e472a60178&key=portrait_6ffe0246729f4240915aba3bdce312f2',
         url2: 'https://qiotapi.qinlinkeji.com/admin/pic/downloadPortrait?sessionId=admin:2c94801075fcb738017612e472a60178&key=portrait_6ffe0246729f4240915aba3bdce312f2',
         form: {},

+ 0 - 1
src/views/community/capturerecord.vue

@@ -509,7 +509,6 @@
         //   this.selectionClear();
         // });
         getSessionId().then(res=>{
-          console.log("dd"+JSON.stringify(res.data.data))
           this.sessionId = res.data.data;
         })
 

+ 19 - 19
src/views/community/data.js

@@ -1031,7 +1031,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354286148362241/1320403891942658050/1320410842852298753/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   }, {
@@ -1061,7 +1061,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369180411179009/1320410843691159554/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   }, {
@@ -1091,7 +1091,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285175283713/1320368945874087937/1320410844018315265/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   }, {
@@ -1121,7 +1121,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354286282579969/1320369287156215810/1320410844597129218/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   }, {
@@ -1151,7 +1151,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285045260289/1320368897140469761/1320410845058502657/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   }, {
@@ -1181,7 +1181,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1213,7 +1213,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1244,7 +1244,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1275,7 +1275,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1306,7 +1306,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1337,7 +1337,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1368,7 +1368,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1399,7 +1399,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1431,7 +1431,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1462,7 +1462,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1493,7 +1493,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1524,7 +1524,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1555,7 +1555,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },
@@ -1586,7 +1586,7 @@ export const userData1 = {
     "faceEnable": -1,
     "estatePosition": "0/1/17162/17167/1320354285691183106/1320369178683125762/1320414269548335106/",
     "isMember": 0,
-    "fastDfsServer": "http://139.9.103.171:8888/",
+    "fastDfsServer": "https://wuye.nxzhsq.cn/oss/",
     "hasFaceCharge": true,
     "canPushFace": true
   },

+ 1 - 1
src/views/epidemic/magnetismstatistics.vue

@@ -19,7 +19,7 @@
        gateOption: {
          title: {
            text: '智能门磁',
-           link: "http://139.9.103.171:1888/#/epidemic/smartgate",
+           link: "https://park.nxzhsq.cn/park/#/epidemic/smartgate",
            target: "self"
          },
          tooltip: {

+ 1 - 2
src/views/grid/components/video.vue

@@ -30,8 +30,7 @@
     },
    data(){
         return{
-          // baseUrlVedio: "http://139.9.103.171/live?port=1935&app=myapp&stream=",
-          baseUrlVedio: "http://36.103.228.148:8888/live/",
+          baseUrlVedio: "https://stream.nxzhsq.cn/live/",
           data:[],
           videoList:[],
         }

+ 2 - 3
src/views/grid/components/video2.vue

@@ -29,8 +29,7 @@
   export default{
     data(){
       return{
-        // baseUrlVedio: "http://139.9.103.171/live?port=1935&app=myapp&stream=",
-        baseUrlVedio: "ws://36.103.228.148:8888/live/",
+        baseUrlVedio: "https://stream.nxzhsq.cn:18866/live?url=",
         data:[],
         videoList:[],
         boxWidth:'25%',
@@ -120,7 +119,7 @@
               const data = res.data.data;
               data.forEach((item,index) => {
                 let obj = {};
-                obj.src = this.baseUrlVedio + item.deviceNum + ".flv";
+                obj.src = this.baseUrlVedio + item.rtspUrl + "&&&ffmpeg=true";
                 obj.name = item.deviceName;
                 this.data.push(obj);
                 _this.$nextTick(()=>{

+ 0 - 2
src/views/grid/index.vue

@@ -131,8 +131,6 @@ export default {
             .then(
               axios.spread(() => {
                 _this.mapData.length=0
-                console.log(_this.deviceList,111)
-                console.log(_this.communityData,11)
                 _this.mapData.push(_this.deviceList)
                 _this.mapData.push(_this.communityData)
                 _this.loadFinish = false;

+ 9 - 9
src/views/homecare/alarmstatic.vue

@@ -50,7 +50,7 @@
         smokeOption: {
           title: {
             text: '智能烟感',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self",
             textStyle:{
               fontStyle: "italic",
@@ -110,7 +110,7 @@
         gasOption: {
           title: {
             text: '燃气监控',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self"
           },
           tooltip: {
@@ -165,7 +165,7 @@
         coverOption: {
           title: {
             text: '井盖监控',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self"
           },
           tooltip: {
@@ -220,7 +220,7 @@
         alarmOption: {
           title: {
             text: '一键告警',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self"
           },
           tooltip: {
@@ -275,7 +275,7 @@
         lampOption: {
           title: {
             text: '智慧路灯',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self"
           },
           tooltip: {
@@ -330,7 +330,7 @@
         fireOption: {
           title: {
             text: '智慧消防',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self"
           },
           tooltip: {
@@ -385,7 +385,7 @@
         trashBinOption: {
           title: {
             text: '智能垃圾桶',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self"
           },
           tooltip: {
@@ -440,7 +440,7 @@
         parkingOption: {
           title: {
             text: '停车监控',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self"
           },
           tooltip: {
@@ -495,7 +495,7 @@
         gateOption: {
           title: {
             text: '智能门磁',
-            link: "http://139.9.103.171:1888/#/homecare/alarmlist",
+            link: "https://park.nxzhsq.cn/park/#/homecare/alarmlist",
             target: "self"
           },
           tooltip: {

+ 7 - 9
src/views/smartapplication/videoSurveillance.vue

@@ -56,9 +56,6 @@
   } from "vuex";
   export default {
     data() {
-      // http://139.9.103.171/live?port=1935&app=myapp&stream=mystream
-      // http://139.9.103.171/live?port=1935&app=myapp&stream=mystream1
-      // http://139.9.103.171/live?port=1935&app=myapp&stream=mystream3
       return {
         selectBuilding: "",
         buildingList:[],
@@ -68,8 +65,7 @@
         loading: false,
         residentialList: [],
         value: [],
-        // baseUrlVedio: "http://139.9.103.171/live?port=1935&app=myapp&stream=",
-        baseUrlVedio: "ws://36.103.228.148:8888/live/",
+        baseUrlVedio: "https://stream.nxzhsq.cn:18866/live?url=",
         data: []
       }
     },
@@ -139,10 +135,12 @@
               this.data = [];
               const data = res.data.data;
               data.forEach(item => {
-                let obj = {};
-                obj.src = this.baseUrlVedio + item.deviceNum + ".flv";
-                obj.name = item.deviceName;
-                this.data.push(obj);
+                if(item.isOnline == 1 && item.rtspUrl){
+                  let obj = {};
+                  obj.src = this.baseUrlVedio + item.rtspUrl + "&&&ffmpeg=true";
+                  obj.name = item.deviceName;
+                  this.data.push(obj);
+                }
               })
               // _this.play();
               setTimeout(function() {

+ 12 - 0
src/views/smartapplication/videocloudaccount.vue

@@ -268,10 +268,22 @@
           });
       },
       beforeOpen(done, type) {
+        let pwdObj = this.findObject(this.option.column, "pwd");
+        let appKeyObj = this.findObject(this.option.column, "appKey");
         if (["edit", "view"].includes(type)) {
           getDetail(this.form.id).then(res => {
             this.form = res.data.data;
           });
+          if(type == "edit"){
+            pwdObj.rules[0].required = false;
+            appKeyObj.rules[0].required = false;
+          }else{
+            pwdObj.rules[0].required = true;
+            appKeyObj.rules[0].required = true;
+          }
+        }else{
+          pwdObj.rules[0].required = true;
+          appKeyObj.rules[0].required = true;
         }
         done();
       },

+ 55 - 26
src/views/smartapplication/videoclouddevice.vue

@@ -9,6 +9,8 @@
                    @click="handleDelete">删 除
         </el-button>
         <el-button type="success" icon="el-icon-paperclip" size="small" @click="showDeviceBindBatch()">批量绑定</el-button>
+        <el-button type="primary" size="small" icon="el-icon-paperclip" plain @click="handleDeviceStatus()">同步设备状态</el-button>
+        <el-button type="primary" size="small"icon="el-icon-paperclip" plain @click="handleDeviceVideoUrl()">同步播放地址</el-button>
       </template>
 
       <template slot="menu" slot-scope="scope">
@@ -18,18 +20,14 @@
               操作<i class="el-icon-arrow-down el-icon--right"></i>
             </span>
             <el-dropdown-menu slot="dropdown">
-              <!--              <el-dropdown-item icon="el-icon-view" type="text" @click.native="view(scope.row)">查看</el-dropdown-item>-->
-              <!--              <el-dropdown-item icon="el-icon-edit" type="text" @click.native="edit(scope.row)">编辑</el-dropdown-item>-->
-              <el-dropdown-item icon="el-icon-video-camera" type="text" @click.native="syncDevice(scope.row.accountName, scope.row.deviceNum)">同步设备状态</el-dropdown-item>
               <el-dropdown-item icon="el-icon-paperclip" type="text" @click.native="showDeviceBind(scope.row)">{{!scope.row.residentialId ? '设备绑定' : '设备改绑'}}</el-dropdown-item>
+              <el-dropdown-item icon="el-icon-video-camera" type="text" @click.native="syncDevice(scope.row.accountName, scope.row.deviceNum)">同步设备状态</el-dropdown-item>
               <el-dropdown-item icon="el-icon-paperclip" type="text" @click.native="syncVideoUrl(scope.row.accountName, scope.row.deviceNum)">同步播放地址</el-dropdown-item>
-              <el-dropdown-item icon="el-icon-video-camera" type="text" @click.native="showVideo(scope.row)">查看监控</el-dropdown-item>
+              <el-dropdown-item icon="el-icon-video-camera" type="text" @click.native="showVideo(scope.row)">查看视频监控</el-dropdown-item>
             </el-dropdown-menu>
 
           </el-dropdown>
         </el-button>
-        <!--<el-button icon="el-icon-paperclip" type="text" @click="showDeviceBind(scope.row)">{{!scope.row.residentialId ? '设备绑定' : '设备改绑'}}</el-button>-->
-        <!--<el-button icon="el-icon-video-camera" type="text" @click="showVideo(scope.row)">查看监控</el-button>-->
       </template>
       <template slot="isOnline" slot-scope="scope">
         <el-tag v-if="scope.row.isOnline == 1" type="success">在线</el-tag>
@@ -41,13 +39,6 @@
     <!--    区域列表-->
     <el-dialog :modal-append-to-body="false" append-to-body :visible.sync="bindVisible" title="设备绑定" center width="20%">
       <div style="text-align: center;">
-        <!-- <el-select v-model="selectValue" filterable placeholder="请选择">
-          <el-option v-for="item in residentialList" :key="item.id" :label="item.name" :value="item.id">
-          </el-option>
-        </el-select>
-        <p style="margin-top: 20px;">
-          <el-button type="primary" icon="el-icon-paperclip" @click="bindDevice">绑定</el-button>
-        </p> -->
         <avue-form v-model="bindForm" :option="bindOption" @submit="bindDevice">
 
         </avue-form>
@@ -57,16 +48,7 @@
     <el-dialog :modal-append-to-body="false" append-to-body :visible.sync="bindBatchVisible" title="设备批量绑定" center
                width="50%">
       <div style="text-align: center;">
-        <avue-form v-model="bindBatchForm" :option="bindOption" @submit="bindBatchDevice">
-
-        </avue-form>
-        <!-- <el-select v-model="selectValue" filterable placeholder="请选择">
-          <el-option v-for="item in residentialList" :key="item.id" :label="item.name" :value="item.id">
-          </el-option>
-        </el-select>
-        <p style="margin-top: 20px;">
-          <el-button type="primary" icon="el-icon-paperclip" @click="bindBatchDevice">绑定</el-button>
-        </p> -->
+        <avue-form v-model="bindBatchForm" :option="bindOption" @submit="bindBatchDevice"></avue-form>
       </div>
     </el-dialog>
 
@@ -106,6 +88,10 @@
     getAllList
   } from "@/api/community/residential";
   import {syncByAccount} from "../../api/smartapplication/videocloudaccount";
+  import {
+    getVideoUrlBatch,
+    syncByDeviceBatch
+  } from "../../../../smart-city-grid-yinchuan-manage/src/api/smartapplication/videoclouddevice";
 
   export default {
     data() {
@@ -163,6 +149,12 @@
               prop: "deviceNum",
               width: 180
             },
+            {
+              label: "账号",
+              prop: "accountName",
+              search: true,
+              hide: true,
+            },
             {
               label: "是否在线",
               prop: "isOnline",
@@ -311,7 +303,7 @@
               cascaderItem: ['buildingId'],
               type: "select",
               remote: true,
-              dicUrl: "/api/building/residential/select?agencyId={{key}}",
+              dicUrl: "/api/community/residential/select?agencyId={{key}}",
               props: {
                 label: "name",
                 value: "id"
@@ -363,6 +355,44 @@
       }
     },
     methods: {
+      handleDeviceStatus(){
+        if (this.selectionList.length === 0) {
+          this.$message.warning("请选择至少一条数据");
+          return;
+        }
+        syncByDeviceBatch(this.ids).then(res => {
+          if(res.data.success){
+            this.$message({
+              type: "success",
+              message: res.data.msg
+            });
+          }else{
+            this.$message({
+              type: "error",
+              message: res.data.msg
+            });
+          }
+        })
+      },
+      handleDeviceVideoUrl(){
+        if (this.selectionList.length === 0) {
+          this.$message.warning("请选择至少一条数据");
+          return;
+        }
+        getVideoUrlBatch(this.ids).then(res => {
+          if(res.data.success){
+            this.$message({
+              type: "success",
+              message: res.data.msg
+            });
+          }else{
+            this.$message({
+              type: "error",
+              message: res.data.msg
+            });
+          }
+        })
+      },
       syncDevice(accountName, deviceNum){
         syncByDevice(accountName, deviceNum).then(res => {
           if (res.data.success) {
@@ -380,8 +410,7 @@
         })
       },
       showVideo(row) {
-        // this.video.url = "http://139.9.103.171/live?port=1935&app=myapp&stream=" + row.id;
-        this.video.url = "ws://36.103.228.148:8866/live?url=" + row.rtspUrl + "&&&ffmpeg=true";;
+        this.video.url = "https://stream.nxzhsq.cn:18866/live?url=" + row.rtspUrl + "&&&ffmpeg=true";
         this.video.name = row.deviceName;
         this.videoVisible = true;
         this.$nextTick(() => {