|
@@ -250,9 +250,9 @@
|
|
this.Aindex = index
|
|
this.Aindex = index
|
|
index == 1 ?
|
|
index == 1 ?
|
|
this.videoSrc =
|
|
this.videoSrc =
|
|
- `rtsp://${this.robotData.ptzLoginUser}:${this.robotData.ptzPassword}@${this.robotData.ip}:554/h265/ch01/main/av_stream` :
|
|
|
|
|
|
+ `rtsp://${this.robotData.ptzLoginUser}:${this.robotData.ptzPassword}@${this.robotData.domainName}:554/h265/ch01/main/av_stream` :
|
|
this.videoSrc =
|
|
this.videoSrc =
|
|
- `rtsp://${this.robotData.ptzLoginUser}:${this.robotData.ptzPassword}@${this.robotData.ip}:554/h265/ch02/main/av_stream`
|
|
|
|
|
|
+ `rtsp://${this.robotData.ptzLoginUser}:${this.robotData.ptzPassword}@${this.robotData.domainName}:554/h265/ch02/main/av_stream`
|
|
|
|
|
|
},
|
|
},
|
|
changePicker(e) {
|
|
changePicker(e) {
|
|
@@ -261,7 +261,7 @@
|
|
this.pickeIndex = e.detail.value
|
|
this.pickeIndex = e.detail.value
|
|
this.robotData = data
|
|
this.robotData = data
|
|
this.robotName = data.robotName
|
|
this.robotName = data.robotName
|
|
- this.videoSrc = `rtsp://${data.ptzLoginUser}:${data.ptzPassword}@${data.ip}:554/h264/ch01/main/av_stream`
|
|
|
|
|
|
+ this.videoSrc = `rtsp://${data.ptzLoginUser}:${data.ptzPassword}@${data.domainName}:554/h264/ch01/main/av_stream`
|
|
this.getEnvData()
|
|
this.getEnvData()
|
|
console.log(this.videoSrc)
|
|
console.log(this.videoSrc)
|
|
},
|
|
},
|