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 with AwsMediaConvertServiceImpl
Default implementation of MediaConvertService.
Author:
joseross
  • Field Details

  • Constructor Details

    • MediaConvertServiceImpl

      public MediaConvertServiceImpl()
      Deprecated.
  • Method Details

    • setMediaConvert

      public void setMediaConvert(MediaConvert mediaConvert)
      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 interface MediaConvertService
      Parameters:
      site - name of the site
      profileId - id of the profile
      filename - name of the file
      content - content of the file
      Returns:
      information of the transcoding job
      Throws:
      AwsException - if the upload or transcoding job creation fails
      org.craftercms.commons.config.profiles.ConfigurationProfileNotFoundException - if the profile is not found