Please enable JavaScript.
Coggle requires JavaScript to display documents.
/video/createVideo.aspx (请求参数: (video_id: 5b9f0a260cf233119594c15b,…
/video/createVideo.aspx
请求参数:
video_id: 5b9f0a260cf233119594c15b
filesize: 2720151
type: youku
fileName: Phideon1.mp4
type判断:LETV || YOUKU || ZHUZHAN
filesize = null return
type is LETV:弃用
type is YOUKU
组装参数
clientIp
feature
video_id
fileName
create4YouKu(user, context)
save AcSource
save AcSourceInfo
save ac_new_video
组装返回结果 返回json
type is zhuanzhan
version
version is 02:新逻辑
组装参数context
create4Acfun(user, context)
save AcSource
save ac_new_video
组装参数,调用接口请求token等信息
如果失败,回滚
删除视频ac_new_video
删除处理失败的源acSource
组装返回结果 返回json
旧逻辑
组装参数
HttpUtils.post(host+"/regUplolad", jsonObject.toString())
save AcSource
save ac_new_video
组装返回结果 返回json