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
Modifier and TypeMethodDescriptiontranscodeFile
(String site, String profileId, String filename, InputStream content) Requests the transcoding of the specified file to the AWS Elastic Transcoder, using the specifiedTranscoderProfile
.
-
Method Details
-
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
-