Interface DynamicMediaRenditionProvider


  • public interface DynamicMediaRenditionProvider
    Service interface for creating dynamicMedia locally hosted or remotely hosted renditions for video or image for DAM assets.
    Since:
    6.3 (S7) -- temp and needs to have accurate info
    • Method Detail

      • getRendition

        Rendition getRendition​(Asset asset,
                               Map<String,​Object> rules)
        Get the rendition for the given asset based on the given rules. (e.g. dynamic image with preset)
        Parameters:
        asset - asset for which to the rendition needs to be provided
        rules - a map of rendition rules
        Returns:
        a dynamicMediaRendition that matches the required rules
      • getRenditions

        List<Rendition> getRenditions​(Asset asset,
                                      Map<String,​Object> rules)
        Get the renditions for the given asset based on the given rules. (e.g. dynamicMedia video renditions)
        Parameters:
        asset - asset for which to the rendition needs to be provided
        rules - a map of rendition rules
        Returns:
        a list of all dynamicMediaRenditions of this asset that matches the required rules.