Interface AudioConfiguration.Builder

    • Method Detail

      • channels

        AudioConfiguration.Builder channels​(Long channels)

        Number of audio channels.

        Parameters:
        channels - Number of audio channels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • codec

        AudioConfiguration.Builder codec​(String codec)

        Codec used for the audio encoding.

        Parameters:
        codec - Codec used for the audio encoding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sampleRate

        AudioConfiguration.Builder sampleRate​(Long sampleRate)

        Number of audio samples recorded per second.

        Parameters:
        sampleRate - Number of audio samples recorded per second.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetBitrate

        AudioConfiguration.Builder targetBitrate​(Long targetBitrate)

        The expected ingest bitrate (bits per second). This is configured in the encoder.

        Parameters:
        targetBitrate - The expected ingest bitrate (bits per second). This is configured in the encoder.
        Returns:
        Returns a reference to this object so that method calls can be chained together.