Browse Source

体育馆监控完成升级2

lite
‘daijinzheng@xingtongworld.com’ 3 years ago
parent
commit
c3c9d0e9d2
  1. 16
      src/views/ty/index.vue

16
src/views/ty/index.vue

@ -950,11 +950,13 @@ export default {
_that.getPubKey(function () {
//
console.log(typeof(_that.videoData[0].host));
var port = Number(_that.videoData[0].port)
var appkey = _that.videoData[0].appkey; //appkey
var secret = _that.setEncrypt(_that.videoData[0].secret); //secret
var ip = "192.168.66.13"; //IP
var ip = _that.videoData[0].host; //IP
var playMode = 0; //0-1-
var port = 443; //HTTPS443
var port = port; //HTTPS443
// var snapDir = ""; //
// var videoDir = "D:\\VideoDir"; //
var layout = "1x1"; //playMode
@ -995,12 +997,13 @@ export default {
init2() {
let _that = this;
this.getPubKey2(function () {
var port = Number(_that.videoData[1].port)
//
var appkey = _that.videoData[1].appkey; //appkey
var secret = _that.setEncrypt2(_that.videoData[1].secret); //secret
var ip = "192.168.66.13"; //IP
var ip = _that.videoData[1].host; //IP
var playMode = 0; //0-1-
var port = 443; //HTTPS443
var port = port; //HTTPS443
// var snapDir = ""; //
// var videoDir = "D:\\VideoDir"; //
var layout = "1x1"; //playMode
@ -1041,12 +1044,13 @@ export default {
init3() {
let _that = this;
this.getPubKey3(function () {
var port = Number(_that.videoData[2].port)
//
var appkey = _that.videoData[2].appkey; //appkey
var secret = _that.setEncrypt3(_that.videoData[2].secret); //secret
var ip = "192.168.66.13"; //IP
var ip = _that.videoData[2].host; //IP
var playMode = 0; //0-1-
var port = 443; //HTTPS443
var port = port; //HTTPS443
// var snapDir = ""; //
// var videoDir = "D:\\VideoDir"; //
var layout = "1x1"; //playMode

Loading…
Cancel
Save