upload File
fun uploadFile(part: VmodalFilePart, groupName: String = "", mode: String = "vid_file", streamName: String = "astream", description: String = "", tag: List<String> = emptyList()): UploadResponse
Compatibility helper for small files. New video code should call videoUploadAsync because this endpoint is multipart/form-data and does not use the scalable signed-R2 flow.
fun uploadFile(file: File, groupName: String = "", mode: String = "vid_file", streamName: String = "astream", description: String = "", tag: List<String> = emptyList()): UploadResponse
Creates a replayable multipart part from file and uploads it.