StartUploadRequest

data class StartUploadRequest(val sizeBytes: Long, val mimeType: String, val name: String? = null, val durationMs: Long? = null, val width: Long? = null, val 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.

Constructors

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

Properties

Link copied to clipboard

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

Link copied to clipboard
val height: Long?

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

Link copied to clipboard

Declared MIME type of the video.

Link copied to clipboard
val name: String?

Optional client-provided file name.

Link copied to clipboard

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

Link copied to clipboard
val width: Long?

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