From 8b579a30c95ccbe4ef6a88a651ebdf6f286577f4 Mon Sep 17 00:00:00 2001 From: qydysky Date: Fri, 11 Jun 2021 02:08:45 +0800 Subject: [PATCH] =?utf8?q?=E9=BB=98=E8=AE=A4=E6=B8=85=E6=99=B0=E5=BA=A6?= =?utf8?q?=E6=B5=81=E4=BF=9D=E5=AD=98=E8=B6=85=E6=97=B6bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- F/api.go | 3 +++ demo/config/config_K_v.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/F/api.go b/F/api.go index dcb5d06..f4ef3c7 100644 --- a/F/api.go +++ b/F/api.go @@ -359,6 +359,7 @@ func Html() (missKey []string) { //当前直播流质量 c.Live_qn = v.CurrentQn + if c.Live_want_qn == 0 {c.Live_want_qn = v.CurrentQn} //允许的清晰度 { var tmp = make(map[int]string) @@ -611,6 +612,7 @@ func getRoomPlayInfo() (missKey []string) { //当前直播流质量 c.Live_qn = v.CurrentQn + if c.Live_want_qn == 0 {c.Live_want_qn = v.CurrentQn} //允许的清晰度 { var tmp = make(map[int]string) @@ -775,6 +777,7 @@ func getRoomPlayInfoByQn() (missKey []string) { //当前直播流质量 c.Live_qn = v.CurrentQn + if c.Live_want_qn == 0 {c.Live_want_qn = v.CurrentQn} //允许的清晰度 { var tmp = make(map[int]string) diff --git a/demo/config/config_K_v.json b/demo/config/config_K_v.json index ad01daf..4fd5b1d 100644 --- a/demo/config/config_K_v.json +++ b/demo/config/config_K_v.json @@ -44,7 +44,7 @@ "Gtk弹幕窗": false, "调用obs": false, "直播流清晰度-help": "清晰度可选-1:不保存 0:默认 10000:原画 800:4K 401:蓝光(杜比) 400:蓝光 250:超清 150:高清 80:流畅,无提供所选清晰度时,使用低一档清晰度", - "直播流清晰度": 150, + "直播流清晰度": 0, "直播流类型-help": "flv or hls", "直播流类型": "hls", "直播流保存位置": "./live", -- 2.39.2