修复使用ffmpeg拉流代理时ffmpeg cmd模板空白的bug

pull/399/head
648540858 2022-03-15 09:45:11 +08:00
parent bde0e13682
commit 28b1ed8b0d
1 changed files with 2 additions and 0 deletions

View File

@ -207,6 +207,7 @@ export default {
this.mediaServer.getOnlineMediaServerList((data)=>{
this.mediaServerList = data.data;
this.proxyParam.mediaServerId = this.mediaServerList[0].id
this.mediaServerIdChange()
})
},
mediaServerIdChange:function (){
@ -220,6 +221,7 @@ export default {
}
}).then(function (res) {
that.ffmpegCmdList = res.data.data;
that.proxyParam.ffmpeg_cmd_key = Object.keys(res.data.data)[0];
}).catch(function (error) {
console.log(error);
});