1.9 获取H5直播URL接口.md 806 Bytes

获取直播URL接口


URL: http://api.cnlive.com/open/api3/play/IPS/liveplayByH5


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


请求方式: HTTP GET


返回格式: 302


请求参数说明:

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