Commit 4060731f authored by xxx's avatar xxx

1

parent ff995d78
......@@ -184,8 +184,8 @@ export default {
item.hls.loadSource(item.url)
item.hls.attachMedia(that.$refs[item.ref][0]);
item.hls.on(Hls.Events.MANIFEST_PARSED,function() {
      that.$refs[item.ref][0].play();
    });
that.$refs[item.ref][0].play();
});
})
})
......@@ -203,8 +203,8 @@ export default {
item.hls.loadSource(item.url)
item.hls.attachMedia(that.$refs[item.ref][0]);
item.hls.on(Hls.Events.MANIFEST_PARSED,function() {
      that.$refs[item.ref][0].play();
    });
that.$refs[item.ref][0].play();
});
})
})
......@@ -319,11 +319,11 @@ export default {
if(!res){
let noPtzVideo = document.getElementById('noPtzVideo');
noPtzhls = new Hls();
    noPtzhls.loadSource(data.url);
    noPtzhls.attachMedia(noPtzVideo);
    noPtzhls.on(Hls.Events.MANIFEST_PARSED,function() {
noPtzhls.loadSource(data.url);
noPtzhls.attachMedia(noPtzVideo);
noPtzhls.on(Hls.Events.MANIFEST_PARSED,function() {
noPtzVideo.play();
    });
});
this.isChildren1 = false;
this.isChildren2 = false;
this.isChildren3 = false;
......
......@@ -244,7 +244,7 @@ export default {
this.selectCarRadioArray = handleArray;
},
//初始化weosocket
//初始化weosocket
initWebSocket(){
const wsuri = 'ws://8.143.203.103:9090/webSocket' + '/' + this.userName1;
//const wsuri = 'ws://192.168.0.111:9090/webSocket' + '/' + this.userName1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment