接口名称 flash播放器EPG信息     web domain
地址 https://api.cnlive.com/open/api2/vod_epg/flash/getVodInfo4Player
method get
返回数据 json

/* Title: 1.01 播放器获取点播信息接口 */

接口描述

接口地址

http://api.cnlive.com/open/api2/vod_epg/flash/getVodInfo4Player

接口协议

HTTP GET

接口请求参数

参数名 参数类型 必选 参数说明
appId string true 应用ID
vId string true 点播节目标识(直播回放的vId就是创建直播活动时的activityId)
uid string false 用户标识(uuid_时间戳)
sid String false 用户ID
retry int false 重试次数,在0~4之间累加
isHLS int false 0:mp4流,1:hls流(默认0)

返回值

参数名 参数类型 必选 参数说明
errorCode int true 错误类型号
errorMessage string true 错误信息
title string true 节目标题
subTitle string false 节目副标题
status string true 节目状态,1:上线,2:下线
statusDescription string true 节目状态描述
vId string true 节目的唯一标识
videoUrl_1 string false 播放地址 流畅版
videoUrl_2 string true 播放地址 清晰版
videoUrl_3 string false 播放地址 高清版
videoUrl_4 string false 播放地址 超高清
cover string false 封面图地址

返回JSON格式的节目元数据信息,json示例如下:

{
 "errorMessage":"请求成功",
 "data":{
 "status":"1",
 "statusDescription":"****",
 "vId":"174e6c5f3d9e4ddeb739feed1906fa11",
 "subTitle":"BTOB对粉丝甜喊:我想你们了",
 "title":"BTOB甜喊:我想你们了",
 "videoUrl_1":"*****",
 "videoUrl_2":"*****",
 "videoUrl_3":"*****",
 "videoUrl_4":"*****",
 "cover":"*****"
 },
 "errorCode":"0"
}