UploadTrackInfo
Properties
docId
docId:
string
课件 ID(createDocument 成功后填充)
docType
docType:
string
文件类型后缀(小写,如 'pptx'/'mp4')
fileName
fileName:
string
文件名
filePercent
filePercent:
number
上传进度百分比(0~100 整数)
fileUrl
fileUrl:
string
COS 文件 URL(上传成功后填充)
loaded
loaded:
number
已上传字节
permission
permission:
number
权限(0=私有,1=公共)
ready
ready:
boolean
上传就绪后是否可"打开"(转码完成或无需转码)
status
status:
UploadTrackStatus
上传状态:0=未知,1=上传中,2=转码中,3=完成,4=失败
taskId
taskId:
string
COS 上传任务 ID(用于取消上传)
total
total:
number
总字节
transcodeInfo
transcodeInfo:
string
转码失败信息
transcodeProgress
transcodeProgress:
number
转码进度百分比(0~100)
transcodeStartedAt?
optionaltranscodeStartedAt?:number
进入转码状态的时间戳(ms,用于轮询超时检测)
transcodeState
transcodeState:
number
转码状态(0=无需转码,1=转码中,2=转码失败,3=转码成功)
transcodeType
transcodeType:
number
转码类型(0=不转码,1=普通转码,2=音视频)