Skip to content

Commit

Permalink
🐛 fix(douyu): new cdn host
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Oct 8, 2022
1 parent 9b66c63 commit d1a8f5b
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://vplay1a.douyucdn.cn/live/%s?uuid=", strings.Split(resp.Data.RtmpLive, "?")[0]),
Origin: fmt.Sprintf("http://akm-tct.douyucdn.cn/live/%s?uuid=", strings.Split(resp.Data.RtmpLive, "?")[0]),
CORS: true,
Type: conf.StreamFlv,
}, nil
Expand Down

0 comments on commit d1a8f5b

Please sign in to comment.