From 90dd36c6142c5199a091f960268acb9d7bbded9e Mon Sep 17 00:00:00 2001 From: iyear Date: Fri, 24 Feb 2023 21:35:01 +0800 Subject: [PATCH] fix(douyu): live url --- pkg/client/internal/douyu/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/internal/douyu/base.go b/pkg/client/internal/douyu/base.go index b7066f1..36a983b 100644 --- a/pkg/client/internal/douyu/base.go +++ b/pkg/client/internal/douyu/base.go @@ -145,7 +145,7 @@ func (d *Douyu) GetPlayURL(room string, qn int) (*model.PlayURL, error) { return &model.PlayURL{ Qn: qn, Desc: util.Qn2Desc(qn), - Origin: fmt.Sprintf("http://akm-tct.douyucdn.cn/live/%s?uuid=", strings.Split(resp.Data.RtmpLive, "?")[0]), + Origin: fmt.Sprintf("http://hw-tct.douyucdn.cn/live/%s?uuid=", strings.Split(resp.Data.RtmpLive, "?")[0]), CORS: true, Type: conf.StreamFlv, }, nil