强制观摩关闭接口新增参数

master
吕天方 6 months ago
parent 3425b6f591
commit 11a5bf37a8

@ -4,7 +4,7 @@
* @Author: JC9527 * @Author: JC9527
* @Date: 2024-01-09 23:08:15 * @Date: 2024-01-09 23:08:15
* @LastEditors: JC9527 * @LastEditors: JC9527
* @LastEditTime: 2024-07-31 16:18:03 * @LastEditTime: 2024-08-15 10:16:07
--> -->
<template> <template>
<div class="map-main"> <div class="map-main">
@ -1436,7 +1436,7 @@ export default {
if(res.code == 200 && res.data.msg == '操作成功') { if(res.code == 200 && res.data.msg == '操作成功') {
// http://121.229.2.163:9291/live/9999 http://120.27.25.166:9305/live/9999_ // http://121.229.2.163:9291/live/9999 http://120.27.25.166:9305/live/9999_
setTimeout(()=>{ setTimeout(()=>{
this.initVideoPlayer(`https://bjh.jndz.cn/bjh-admin-server/jn/live/9999_${this.personInfo.info.userId}.flv`) this.initVideoPlayer(`http://10.236.2.28:54567/bjh-admin-server/jn/live/9999_${this.personInfo.info.userId}.flv`)
},3000) },3000)
} }
}) })
@ -1453,7 +1453,7 @@ export default {
this.player.detachMediaElement() this.player.detachMediaElement()
this.player.destroy() this.player.destroy()
this.player = null this.player = null
videoSurveillance({destID:this.personInfo.userId,imei:this.personInfo.info.imei,msgType:0}) videoSurveillance({destID:this.personInfo.info.userId,imei:this.personInfo.info.imei,msgType:0})
if(this.timer) clearInterval(this.timer) if(this.timer) clearInterval(this.timer)
}, },
// //

Loading…
Cancel
Save