Interface KinesisVideoStreamSourceRuntimeConfiguration.Builder

    • Method Detail

      • streams

        KinesisVideoStreamSourceRuntimeConfiguration.Builder streams​(StreamConfiguration... streams)

        The streams in the source runtime configuration of a Kinesis video stream.

        Parameters:
        streams - The streams in the source runtime configuration of a Kinesis video stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mediaEncoding

        KinesisVideoStreamSourceRuntimeConfiguration.Builder mediaEncoding​(String mediaEncoding)

        Specifies the encoding of your input audio. Supported format: PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

        For more information, see Media formats in the Amazon Transcribe Developer Guide.

        Parameters:
        mediaEncoding - Specifies the encoding of your input audio. Supported format: PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

        For more information, see Media formats in the Amazon Transcribe Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MediaEncoding, MediaEncoding
      • mediaEncoding

        KinesisVideoStreamSourceRuntimeConfiguration.Builder mediaEncoding​(MediaEncoding mediaEncoding)

        Specifies the encoding of your input audio. Supported format: PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

        For more information, see Media formats in the Amazon Transcribe Developer Guide.

        Parameters:
        mediaEncoding - Specifies the encoding of your input audio. Supported format: PCM (only signed 16-bit little-endian audio formats, which does not include WAV)

        For more information, see Media formats in the Amazon Transcribe Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MediaEncoding, MediaEncoding
      • mediaSampleRate

        KinesisVideoStreamSourceRuntimeConfiguration.Builder mediaSampleRate​(Integer mediaSampleRate)

        The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio, is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.

        Valid Range: Minimum value of 8000. Maximum value of 48000.

        Parameters:
        mediaSampleRate - The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio, is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.

        Valid Range: Minimum value of 8000. Maximum value of 48000.

        Returns:
        Returns a reference to this object so that method calls can be chained together.