Interface ElasticTranscoderService
-
- All Known Implementing Classes:
ElasticTranscoderServiceImpl
public interface ElasticTranscoderService
Service that provides access to the AWS Elastic Transcoder to sites for video transcoding.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TranscoderJob
transcodeFile(String site, String profileId, String filename, InputStream content)
Requests the transcoding of the specified file to the AWS Elastic Transcoder, using the specifiedTranscoderProfile
.
-
-
-
Method Detail
-
transcodeFile
TranscoderJob transcodeFile(String site, String profileId, String filename, InputStream content) throws AwsException, org.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException
Requests the transcoding of the specified file to the AWS Elastic Transcoder, using the specifiedTranscoderProfile
.- Parameters:
site
- the siteprofileId
- the id of theTranscoderProfile
to usefilename
- the name of the video file to transcodecontent
- the video file itself- Returns:
- the
TranscoderJob
that was started - Throws:
AwsException
- if an error occursorg.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException
-
-