点播转码完成回调

处理结束回调

请求路径:传入的url

请求方式:POST

参数要求:

名称 类型 是否必需 描述
mediaId String 媒资ID
status int 媒资状态 -1 处理失败 0 申请 1 处理中 2 已完成 3 已发布 4 已停用
title String 媒资名称
description String 媒资描述信息
mediaType int 媒资类型,0 video 1 audio 2 file
coverImage String 封面图地址
mediaMetaInfo object 媒资详情
├─videoGroup list 视频资源组
├─├─videoId String 视频ID
├─├─extension String 扩展名
├─├─presetName String 分辨率目录,lud(对应超清) lhd(对应高清) lsd(对应标清)
├─├─playURL String 播放地址
├─imageGroup list 图片资源组
├─├─imageId String 图片ID
├─├─extension String 扩展名
├─├─showURL String 图片地址
createTime String 创建时间

返回数据:

{
    "mediaId": "media-842793068888064",
    "spaceName": "space-8",
    "status": 3,
    "title": "新晋职员诞生记-01.mp4",
    "mediaType": 0,
    "mediaMetaInfo": {
        "videoGroup": [
            {
                "videoId": "video-842793071509504",
                "extension": ".m3u8",
                "resolution": "超清",
                "presetName": "lud",
                "bucketName": "hky-vod-output-test",
                "objectName": "resource/media-842793068888064/lud/ce881c3301e144789cc087d1e31920c3.m3u8",
                "isEncryption": true,
                "noAuth": true,
                "playURL": "https://test-hky-video.kaikeba.com/resource/media-842793068888064/lud/ce881c3301e144789cc087d1e31920c3.m3u8?MtsHlsUriToken=f2e17fc9236b4a07b79784bb8f8bd8983c2ffb5241ee474296a47c0a9cd6ebcd",
                "size": "671720428",
                "duration": "5690.773144"
            },
            {
                "videoId": "video-842793071509506",
                "extension": ".m3u8",
                "resolution": "高清",
                "presetName": "lhd",
                "bucketName": "hky-vod-output-test",
                "objectName": "resource/media-842793068888064/lhd/f775959c3f624a7ebceafc75afaee426.m3u8",
                "isEncryption": true,
                "noAuth": true,
                "playURL": "https://test-hky-video.kaikeba.com/resource/media-842793068888064/lhd/f775959c3f624a7ebceafc75afaee426.m3u8?MtsHlsUriToken=67b9bea5d83e43d0af77549aaf14ff7e769ff9eead7f441899c0e241b8028cef",
                "size": "866980236",
                "duration": "5690.773144"
            },
            {
                "videoId": "video-842793071509505",
                "extension": ".m3u8",
                "resolution": "标清",
                "presetName": "lsd",
                "bucketName": "hky-vod-output-test",
                "objectName": "resource/media-842793068888064/lsd/625feea1257b44caace4f9e44cd8d7e5.m3u8",
                "isEncryption": true,
                "noAuth": true,
                "playURL": "https://test-hky-video.kaikeba.com/resource/media-842793068888064/lsd/625feea1257b44caace4f9e44cd8d7e5.m3u8?MtsHlsUriToken=13bfc1ce9c1e40cea2a925fa024707d7913a156d6ba64cb0987a01b3401b983c",
                "size": "543825532",
                "duration": "5690.773144"
            }
        ],
        "imageGroup": [
            {
                "imageId": "img-842793071509507",
                "type": "default",
                "bucketName": "hky-vod-output-test",
                "objectName": "resource/media-842793068888064/411ae897fe354ab78882cf9dcf1219ee_00001.jpg",
                "coverImage": false,
                "showURL": "https://test-hky-video.kaikeba.com/resource/media-842793068888064/411ae897fe354ab78882cf9dcf1219ee_00001.jpg"
            }
        ]
    },
    "createTime": "2020-12-09 15:50:08"
}

results matching ""

    No results matching ""