startJob
MediaConvertJob startJob(String site,
String profileId,
String filename,
InputStream content)
throws AwsException,
org.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException
Deprecated.
Uploads a file to S3 and creates a transcoding job using the specified profile.
- Parameters:
site
- name of the site
profileId
- id of the profile
filename
- name of the file
content
- content of the file
- Returns:
- information of the transcoding job
- Throws:
AwsException
- if the upload or transcoding job creation fails
org.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException
- if the profile is not found