StartUploadRequest

constructor(sizeBytes: Long, mimeType: String, name: String? = null, durationMs: Long? = null, width: Long? = null, height: Long? = null)

Parameters

sizeBytes

Exact byte size of the complete upload-ready video file before it is split into parts.

mimeType

Declared MIME type of the video.

name

Optional client-provided file name.

durationMs

Advisory, non-authoritative duration used only for early failure; the authoritative probe runs asynchronously after upload.

width

Advisory, non-authoritative width used only for early failure; the authoritative probe runs asynchronously after upload.

height

Advisory, non-authoritative height used only for early failure; the authoritative probe runs asynchronously after upload.