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 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 specified TranscoderProfile.
        Parameters:
        site - the site
        profileId - the id of the TranscoderProfile to use
        filename - the name of the video file to transcode
        content - the video file itself
        Returns:
        the TranscoderJob that was started
        Throws:
        AwsException - if an error occurs
        org.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException