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.This service has been replaced withAwsMediaConvertServiceImpl
Default implementation ofMediaConvertService
.- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected MediaConvert
mediaConvert
Deprecated.Instance ofMediaConvert
.-
Fields inherited from class org.craftercms.studio.api.v1.service.aws.AbstractAwsService
profileLoader
-
-
Constructor Summary
Constructors Constructor Description MediaConvertServiceImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
setMediaConvert(MediaConvert mediaConvert)
Deprecated.MediaConvertJob
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 Detail
-
mediaConvert
protected MediaConvert mediaConvert
Deprecated.Instance ofMediaConvert
.
-
-
Method Detail
-
setMediaConvert
public void setMediaConvert(MediaConvert mediaConvert)
Deprecated.
-
startJob
public MediaConvertJob startJob(String site, String profileId, String filename, InputStream content) throws AwsException
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 fails
-
-