Skip to content

Commit

Permalink
fix(douyu): live url
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Feb 24, 2023
1 parent f782c72 commit 90dd36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/internal/douyu/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90dd36c

Please sign in to comment.