Interface AudioProperties.Builder

  • Method Details

    • bitDepth

      AudioProperties.Builder bitDepth(Integer bitDepth)
      The bit depth of the audio track.
      Parameters:
      bitDepth - The bit depth of the audio track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bitRate

      AudioProperties.Builder bitRate(Long bitRate)
      The bit rate of the audio track, in bits per second.
      Parameters:
      bitRate - The bit rate of the audio track, in bits per second.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channels

      AudioProperties.Builder channels(Integer channels)
      The number of audio channels in the audio track.
      Parameters:
      channels - The number of audio channels in the audio track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameRate

      AudioProperties.Builder frameRate(FrameRate frameRate)
      The frame rate of the video or audio track.
      Parameters:
      frameRate - The frame rate of the video or audio track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameRate

      default AudioProperties.Builder frameRate(Consumer<FrameRate.Builder> frameRate)
      The frame rate of the video or audio track. This is a convenience method that creates an instance of the FrameRate.Builder avoiding the need to create one manually via FrameRate.builder().

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

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

      AudioProperties.Builder languageCode(String languageCode)
      The language code of the audio track, in three character ISO 639-3 format.
      Parameters:
      languageCode - The language code of the audio track, in three character ISO 639-3 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampleRate

      AudioProperties.Builder sampleRate(Integer sampleRate)
      The sample rate of the audio track.
      Parameters:
      sampleRate - The sample rate of the audio track.
      Returns:
      Returns a reference to this object so that method calls can be chained together.