检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
play_info_array Array of PlayInfo objects 转码文件的播放信息。 HLS或DASH:此数组的成员个数为n+1,n为转码输出路数。 MP4:此数组的成员个数为n,n为转码输出路数。 表6 BaseInfo 参数 参数类型 描述 title String 媒资标题。
响应Body参数 参数 参数类型 描述 preheating_results Array of PreheatingResult objects 预热任务数组 表5 PreheatingResult 参数 参数类型 描述 url String 媒资URL。 status String 预热任务状态。
interval Integer 统计间隔。 sample_data Array of VodSampleData objects 采样数据数组。从start_time开始,每个间隔对应一个采样数据(其中转码时长单位:min,存储单位:GB)。 表5 VodSampleData 参数
start_time String 统计起始时间。 interval Integer 统计间隔。 values Array of longs 采样数据数组。 从start_time开始,每个间隔对应一个采样数据(其中流量单位:Byte,带宽单位:bps)。 状态码:400 表5 响应Body参数
objects 画质配置信息列表。 watermark_template_ids 否 Array of strings 绑定的水印模板组ID数组。 description 否 String 模板介绍。 common 否 Common object 模板信息。 表4 QualityInfo
取值范围:[0,100]之间的整数。 dots 否 Array of integers type取值为dots时必填。指定时间截图时的时间点数组。 cover_position 否 Integer 该值表示指定第几张截图作为封面。 默认值:1。 format 否 Integer 截图文件格式。
取值范围:[0,100]之间的整数。 dots 否 Array of integers type取值为dots时必填。指定时间截图时的时间点数组。 cover_position 否 Integer 该值表示指定第几张截图作为封面。 默认值:1。 format 否 Integer 截图文件格式。
QualityInfo objects 画质配置信息列表 watermark_template_ids Array of strings 绑定的水印模板组ID数组 description String 模板介绍 common Common object pvc开关,pvcVersion,编码格式多路共同参数
QualityInfo objects 画质配置信息列表 watermark_template_ids Array of strings 绑定的水印模板组ID数组 description String 模板介绍 common Common object 高清低码开关,高清低码版本,编码格式多路共同参数
QualityInfoList objects 画质配置信息列表 watermark_template_ids Array of strings 绑定的水印模板组ID数组 description String 模板介绍 common CommonInfo object 高清低码开关,高清低码Version,编码格式多路共同参数
取值范围:[0,100]之间的整数。 dots 否 Array of integers type取值为dots时必填。指定时间截图时的时间点数组。 cover_position 否 Integer 该值表示指定第几张截图作为封面。 默认值:1。 format 否 Integer 截图文件格式。
// md5转字节数组 let bmd5 = Str2Bytes(md5); // base64 encode md5字节数组 let
给终端分配的token,这里需要校验token是否合法,只给校验通过的终端返回密钥 * @param response * @return 返回字节数组类型的密钥 */ @GetMapping(value = "/get-key",headers = "Accept=ap