Interface MediaPackageV2GroupSettings.Builder

  • Method Details

    • captionLanguageMappings

      MediaPackageV2GroupSettings.Builder captionLanguageMappings(Collection<CaptionLanguageMapping> captionLanguageMappings)
      Mapping of up to 4 caption channels to caption languages.
      Parameters:
      captionLanguageMappings - Mapping of up to 4 caption channels to caption languages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • captionLanguageMappings

      MediaPackageV2GroupSettings.Builder captionLanguageMappings(CaptionLanguageMapping... captionLanguageMappings)
      Mapping of up to 4 caption channels to caption languages.
      Parameters:
      captionLanguageMappings - Mapping of up to 4 caption channels to caption languages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • captionLanguageMappings

      MediaPackageV2GroupSettings.Builder captionLanguageMappings(Consumer<CaptionLanguageMapping.Builder>... captionLanguageMappings)
      Mapping of up to 4 caption channels to caption languages. This is a convenience method that creates an instance of the CaptionLanguageMapping.Builder avoiding the need to create one manually via CaptionLanguageMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to captionLanguageMappings(List<CaptionLanguageMapping>).

      Parameters:
      captionLanguageMappings - a consumer that will call methods on CaptionLanguageMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • id3Behavior

      MediaPackageV2GroupSettings.Builder id3Behavior(String id3Behavior)
      Set to ENABLED to enable ID3 metadata insertion. To include metadata, you configure other parameters in the output group, or you add an ID3 action to the channel schedule.
      Parameters:
      id3Behavior - Set to ENABLED to enable ID3 metadata insertion. To include metadata, you configure other parameters in the output group, or you add an ID3 action to the channel schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • id3Behavior

      Set to ENABLED to enable ID3 metadata insertion. To include metadata, you configure other parameters in the output group, or you add an ID3 action to the channel schedule.
      Parameters:
      id3Behavior - Set to ENABLED to enable ID3 metadata insertion. To include metadata, you configure other parameters in the output group, or you add an ID3 action to the channel schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • klvBehavior

      MediaPackageV2GroupSettings.Builder klvBehavior(String klvBehavior)
      If set to passthrough, passes any KLV data from the input source to this output.
      Parameters:
      klvBehavior - If set to passthrough, passes any KLV data from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • klvBehavior

      If set to passthrough, passes any KLV data from the input source to this output.
      Parameters:
      klvBehavior - If set to passthrough, passes any KLV data from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nielsenId3Behavior

      MediaPackageV2GroupSettings.Builder nielsenId3Behavior(String nielsenId3Behavior)
      If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
      Parameters:
      nielsenId3Behavior - If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nielsenId3Behavior

      MediaPackageV2GroupSettings.Builder nielsenId3Behavior(CmafNielsenId3Behavior nielsenId3Behavior)
      If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
      Parameters:
      nielsenId3Behavior - If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scte35Type

      Type of scte35 track to add. none or scte35WithoutSegmentation
      Parameters:
      scte35Type - Type of scte35 track to add. none or scte35WithoutSegmentation
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scte35Type

      Type of scte35 track to add. none or scte35WithoutSegmentation
      Parameters:
      scte35Type - Type of scte35 track to add. none or scte35WithoutSegmentation
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentLength

      MediaPackageV2GroupSettings.Builder segmentLength(Integer segmentLength)
      The nominal duration of segments. The units are specified in SegmentLengthUnits. The segments will end on the next keyframe after the specified duration, so the actual segment length might be longer, and it might be a fraction of the units.
      Parameters:
      segmentLength - The nominal duration of segments. The units are specified in SegmentLengthUnits. The segments will end on the next keyframe after the specified duration, so the actual segment length might be longer, and it might be a fraction of the units.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentLengthUnits

      MediaPackageV2GroupSettings.Builder segmentLengthUnits(String segmentLengthUnits)
      Time unit for segment length parameter.
      Parameters:
      segmentLengthUnits - Time unit for segment length parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentLengthUnits

      MediaPackageV2GroupSettings.Builder segmentLengthUnits(CmafIngestSegmentLengthUnits segmentLengthUnits)
      Time unit for segment length parameter.
      Parameters:
      segmentLengthUnits - Time unit for segment length parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timedMetadataId3Frame

      MediaPackageV2GroupSettings.Builder timedMetadataId3Frame(String timedMetadataId3Frame)
      Set to none if you don't want to insert a timecode in the output. Otherwise choose the frame type for the timecode.
      Parameters:
      timedMetadataId3Frame - Set to none if you don't want to insert a timecode in the output. Otherwise choose the frame type for the timecode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timedMetadataId3Frame

      MediaPackageV2GroupSettings.Builder timedMetadataId3Frame(CmafTimedMetadataId3Frame timedMetadataId3Frame)
      Set to none if you don't want to insert a timecode in the output. Otherwise choose the frame type for the timecode.
      Parameters:
      timedMetadataId3Frame - Set to none if you don't want to insert a timecode in the output. Otherwise choose the frame type for the timecode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timedMetadataId3Period

      MediaPackageV2GroupSettings.Builder timedMetadataId3Period(Integer timedMetadataId3Period)
      If you set up to insert a timecode in the output, specify the frequency for the frame, in seconds.
      Parameters:
      timedMetadataId3Period - If you set up to insert a timecode in the output, specify the frequency for the frame, in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timedMetadataPassthrough

      MediaPackageV2GroupSettings.Builder timedMetadataPassthrough(String timedMetadataPassthrough)
      Set to enabled to pass through ID3 metadata from the input sources.
      Parameters:
      timedMetadataPassthrough - Set to enabled to pass through ID3 metadata from the input sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timedMetadataPassthrough

      MediaPackageV2GroupSettings.Builder timedMetadataPassthrough(CmafTimedMetadataPassthrough timedMetadataPassthrough)
      Set to enabled to pass through ID3 metadata from the input sources.
      Parameters:
      timedMetadataPassthrough - Set to enabled to pass through ID3 metadata from the input sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: