接口名称 获取h5点播URL     web domain
地址 https://api.cnlive.com/open/api2/vod_ips/vodplayByH5
method get
返回数据

获取点播URL接口


URL: http://api.cnlive.com/open/api2/vod_ips/vodplayByH5


接口说明: 返回点播播放地址(HLS)


请求方式: HTTP GET


返回格式: 302


请求参数说明:

参数名 参数类型 必选 参数说明
appId string true 应用ID
vId string true 点播节目标识
uid string false 用户标识(uuid_时间戳),不传为0
sid string false 用户ID,不传为0
retry int false 重试次数,从0开始,不断累加,不传为0
rate int false 1-流畅,2-标清,3-高清,4-超清,不传为2,EPG接口会返回实际的码流路数--标清为必须项

页面DEMO