Skip to content

Commit 90dd36c

Browse files
committed
fix(douyu): live url
1 parent f782c72 commit 90dd36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/internal/douyu/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (d *Douyu) GetPlayURL(room string, qn int) (*model.PlayURL, error) {
145145
return &model.PlayURL{
146146
Qn: qn,
147147
Desc: util.Qn2Desc(qn),
148-
Origin: fmt.Sprintf("http://akm-tct.douyucdn.cn/live/%s?uuid=", strings.Split(resp.Data.RtmpLive, "?")[0]),
148+
Origin: fmt.Sprintf("http://hw-tct.douyucdn.cn/live/%s?uuid=", strings.Split(resp.Data.RtmpLive, "?")[0]),
149149
CORS: true,
150150
Type: conf.StreamFlv,
151151
}, nil

0 commit comments

Comments
 (0)