|
@@ -529,7 +529,7 @@ methods:{
|
|
|
this.$refs.monitor.getwebsocket();
|
|
|
this.$refs.monitor.container_show=true;
|
|
|
this.monitorHCFD=this.$refs.monitor.container_show
|
|
|
- this.$refs.TFileStream.imgtupian=false;
|
|
|
+ this.$refs.TFileStream.imgtupian=false;
|
|
|
},
|
|
|
// 工具栏的显示隐藏
|
|
|
changehcfd(pare){
|
|
@@ -578,7 +578,6 @@ loadingend(loading){
|
|
|
},
|
|
|
// 文件渲染之前的动作
|
|
|
startimg(action,action2){
|
|
|
- console.log(111)
|
|
|
let params = {
|
|
|
transCode: "AFT001",// 服务器渲染实例接口创建推流
|
|
|
pid:this.pid,
|
|
@@ -609,8 +608,6 @@ let params = {
|
|
|
this.loading = true;
|
|
|
request(params)
|
|
|
.then((res) => {
|
|
|
- console.log(res);
|
|
|
- // that.initWebSocket();
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
|
|
@@ -618,7 +615,7 @@ let params = {
|
|
|
});
|
|
|
},
|
|
|
|
|
|
- // // 文件渲染websoket
|
|
|
+ // // 文件渲染websoket图片的渲染
|
|
|
initWebSocket(){ //初始化weosocket
|
|
|
|
|
|
const wsuri = "ws://192.168.0.43:8087//websocket?projectId="+this.pid;
|