Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(c *blademaster.ClientConfig, bvcHost string, mock string) *Client
func (*Client) GetPlayUrl ¶
func (c *Client) GetPlayUrl(ctx *bm.Context, cid, quality, ptype, needHttps, unicomFree int64, platform string) (resp *respPlayUrl)
历史原因,单个的接口和视频云@yuanfeng确认数据结构不统一,后面统一,暂时先不用 @see http://live-hub.bilibili.co/doc/playurl/
func (*Client) GetPlayUrlMulti ¶
func (c *Client) GetPlayUrlMulti(ctx context.Context, roomIds []int64, needHttps, quality, build int64, platform string) (result map[int64]*PlayUrlItem)
批量接口,一次最好20个
Click to show internal directories.
Click to hide internal directories.