From 28b1ed8b0dbf92f1ca37d348ae54d227f902ec49 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 15 三月 2022 09:45:11 +0800
Subject: [PATCH] 修复使用ffmpeg拉流代理时ffmpeg cmd模板空白的bug

---
 web_src/src/components/dialog/StreamProxyEdit.vue |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/web_src/src/components/dialog/StreamProxyEdit.vue b/web_src/src/components/dialog/StreamProxyEdit.vue
index a6a2058..77ee1d8 100644
--- a/web_src/src/components/dialog/StreamProxyEdit.vue
+++ b/web_src/src/components/dialog/StreamProxyEdit.vue
@@ -207,6 +207,7 @@
       this.mediaServer.getOnlineMediaServerList((data)=>{
         this.mediaServerList = data.data;
         this.proxyParam.mediaServerId = this.mediaServerList[0].id
+        this.mediaServerIdChange()
       })
     },
     mediaServerIdChange:function (){
@@ -220,6 +221,7 @@
           }
         }).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);
         });

--
Gitblit v1.8.0