Interface PresetSettings.Builder

    • Method Detail

      • audioDescriptions

        PresetSettings.Builder audioDescriptions​(Collection<AudioDescription> audioDescriptions)
        Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
        Parameters:
        audioDescriptions - Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • audioDescriptions

        PresetSettings.Builder audioDescriptions​(AudioDescription... audioDescriptions)
        Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
        Parameters:
        audioDescriptions - Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • audioDescriptions

        PresetSettings.Builder audioDescriptions​(Consumer<AudioDescription.Builder>... audioDescriptions)
        Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings. This is a convenience method that creates an instance of the AudioDescription.Builder avoiding the need to create one manually via AudioDescription.builder() .

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #audioDescriptions(List).

        Parameters:
        audioDescriptions - a consumer that will call methods on AudioDescription.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #audioDescriptions(java.util.Collection)
      • captionDescriptions

        PresetSettings.Builder captionDescriptions​(Collection<CaptionDescriptionPreset> captionDescriptions)
        This object holds groups of settings related to captions for one output. For each output that has captions, include one instance of CaptionDescriptions.
        Parameters:
        captionDescriptions - This object holds groups of settings related to captions for one output. For each output that has captions, include one instance of CaptionDescriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • captionDescriptions

        PresetSettings.Builder captionDescriptions​(CaptionDescriptionPreset... captionDescriptions)
        This object holds groups of settings related to captions for one output. For each output that has captions, include one instance of CaptionDescriptions.
        Parameters:
        captionDescriptions - This object holds groups of settings related to captions for one output. For each output that has captions, include one instance of CaptionDescriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containerSettings

        PresetSettings.Builder containerSettings​(ContainerSettings containerSettings)
        Container specific settings.
        Parameters:
        containerSettings - Container specific settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • videoDescription

        PresetSettings.Builder videoDescription​(VideoDescription videoDescription)
        VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
        Parameters:
        videoDescription - VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.