We are developing our own UI for uploading files where a user can drag and drop any file type (image, video, audio, raw binary files) which we upload. We're then subscribing to the upload callback to store the "asset type" for building transformation URLs correctly later.
We are using an upload preset so run a virus scan moderation on all of the files, which means we apply that upload preset to every file regardless of type.
We now need to eagerly transform videos for adaptive streaming (large files which cannot be done on the fly).
Is it the "correct" way to simply add that eager transformation to our upload preset which is applied to _all_ files, including non-video?
We don't want to have to amend our upload pipeline and maintain separate upload presets for different asset types if we can avoid it.
Post is closed for comments.