Commit 28b1ed8b0dbf92f1ca37d348ae54d227f902ec49

Authored by 648540858
1 parent bde0e136

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

web_src/src/components/dialog/StreamProxyEdit.vue
... ... @@ -207,6 +207,7 @@ export default {
207 207 this.mediaServer.getOnlineMediaServerList((data)=>{
208 208 this.mediaServerList = data.data;
209 209 this.proxyParam.mediaServerId = this.mediaServerList[0].id
  210 + this.mediaServerIdChange()
210 211 })
211 212 },
212 213 mediaServerIdChange:function (){
... ... @@ -220,6 +221,7 @@ export default {
220 221 }
221 222 }).then(function (res) {
222 223 that.ffmpegCmdList = res.data.data;
  224 + that.proxyParam.ffmpeg_cmd_key = Object.keys(res.data.data)[0];
223 225 }).catch(function (error) {
224 226 console.log(error);
225 227 });
... ...