Class MediaConvertServiceImpl
java.lang.Object
org.craftercms.studio.api.v1.service.aws.AbstractAwsService<MediaConvertProfile>
org.craftercms.studio.impl.v1.service.aws.MediaConvertServiceImpl
- All Implemented Interfaces:
MediaConvertService
@Deprecated
public class MediaConvertServiceImpl
extends AbstractAwsService<MediaConvertProfile>
implements MediaConvertService
Deprecated.
Default implementation of
MediaConvertService
.- Author:
- joseross
-
Field Summary
FieldsFields inherited from class org.craftercms.studio.api.v1.service.aws.AbstractAwsService
profileLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setMediaConvert
(MediaConvert mediaConvert) Deprecated.startJob
(String site, String profileId, String filename, InputStream content) Deprecated.Uploads a file to S3 and creates a transcoding job using the specified profile.Methods inherited from class org.craftercms.studio.api.v1.service.aws.AbstractAwsService
getProfile, setProfileLoader
-
Field Details
-
mediaConvert
Deprecated.Instance ofMediaConvert
.
-
-
Constructor Details
-
MediaConvertServiceImpl
public MediaConvertServiceImpl()Deprecated.
-
-
Method Details
-
setMediaConvert
Deprecated. -
startJob
public 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.- Specified by:
startJob
in interfaceMediaConvertService
- Parameters:
site
- name of the siteprofileId
- id of the profilefilename
- name of the filecontent
- content of the file- Returns:
- information of the transcoding job
- Throws:
AwsException
- if the upload or transcoding job creation failsorg.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException
- if the profile is not found
-
AwsMediaConvertServiceImpl