Interface AudioOnlyHlsSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AudioOnlyHlsSettings.Builder,AudioOnlyHlsSettings>, SdkBuilder<AudioOnlyHlsSettings.Builder,AudioOnlyHlsSettings>, SdkPojo
Enclosing class:
AudioOnlyHlsSettings

public static interface AudioOnlyHlsSettings.Builder extends SdkPojo, CopyableBuilder<AudioOnlyHlsSettings.Builder,AudioOnlyHlsSettings>
  • Method Details

    • audioGroupId

      AudioOnlyHlsSettings.Builder audioGroupId(String audioGroupId)
      Specifies the group to which the audio Rendition belongs.
      Parameters:
      audioGroupId - Specifies the group to which the audio Rendition belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioOnlyImage

      AudioOnlyHlsSettings.Builder audioOnlyImage(InputLocation audioOnlyImage)
      Optional. Specifies the .jpg or .png image to use as the cover art for an audio-only output. We recommend a low bit-size file because the image increases the output audio bandwidth. The image is attached to the audio as an ID3 tag, frame type APIC, picture type 0x10, as per the "ID3 tag version 2.4.0 - Native Frames" standard.
      Parameters:
      audioOnlyImage - Optional. Specifies the .jpg or .png image to use as the cover art for an audio-only output. We recommend a low bit-size file because the image increases the output audio bandwidth. The image is attached to the audio as an ID3 tag, frame type APIC, picture type 0x10, as per the "ID3 tag version 2.4.0 - Native Frames" standard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioOnlyImage

      default AudioOnlyHlsSettings.Builder audioOnlyImage(Consumer<InputLocation.Builder> audioOnlyImage)
      Optional. Specifies the .jpg or .png image to use as the cover art for an audio-only output. We recommend a low bit-size file because the image increases the output audio bandwidth. The image is attached to the audio as an ID3 tag, frame type APIC, picture type 0x10, as per the "ID3 tag version 2.4.0 - Native Frames" standard. This is a convenience method that creates an instance of the InputLocation.Builder avoiding the need to create one manually via InputLocation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to audioOnlyImage(InputLocation).

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

      AudioOnlyHlsSettings.Builder audioTrackType(String audioTrackType)
      Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
      Parameters:
      audioTrackType - Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • audioTrackType

      AudioOnlyHlsSettings.Builder audioTrackType(AudioOnlyHlsTrackType audioTrackType)
      Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
      Parameters:
      audioTrackType - Four types of audio-only tracks are supported: Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest. Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NO
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentType

      AudioOnlyHlsSettings.Builder segmentType(String segmentType)
      Specifies the segment type.
      Parameters:
      segmentType - Specifies the segment type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentType

      Specifies the segment type.
      Parameters:
      segmentType - Specifies the segment type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: