public static interface KinesisVideoStreamSourceRuntimeConfiguration.Builder extends SdkPojo, CopyableBuilder<KinesisVideoStreamSourceRuntimeConfiguration.Builder,KinesisVideoStreamSourceRuntimeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
KinesisVideoStreamSourceRuntimeConfiguration.Builder |
mediaEncoding(MediaEncoding mediaEncoding)
Specifies the encoding of your input audio.
|
KinesisVideoStreamSourceRuntimeConfiguration.Builder |
mediaEncoding(String mediaEncoding)
Specifies the encoding of your input audio.
|
KinesisVideoStreamSourceRuntimeConfiguration.Builder |
mediaSampleRate(Integer mediaSampleRate)
The sample rate of the input audio (in hertz).
|
KinesisVideoStreamSourceRuntimeConfiguration.Builder |
streams(Collection<StreamConfiguration> streams)
The streams in the source runtime configuration of a Kinesis video stream.
|
KinesisVideoStreamSourceRuntimeConfiguration.Builder |
streams(Consumer<StreamConfiguration.Builder>... streams)
The streams in the source runtime configuration of a Kinesis video stream.
|
KinesisVideoStreamSourceRuntimeConfiguration.Builder |
streams(StreamConfiguration... streams)
The streams in the source runtime configuration of a Kinesis video stream.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildKinesisVideoStreamSourceRuntimeConfiguration.Builder streams(Collection<StreamConfiguration> streams)
The streams in the source runtime configuration of a Kinesis video stream.
streams - The streams in the source runtime configuration of a Kinesis video stream.KinesisVideoStreamSourceRuntimeConfiguration.Builder streams(StreamConfiguration... streams)
The streams in the source runtime configuration of a Kinesis video stream.
streams - The streams in the source runtime configuration of a Kinesis video stream.KinesisVideoStreamSourceRuntimeConfiguration.Builder streams(Consumer<StreamConfiguration.Builder>... streams)
The streams in the source runtime configuration of a Kinesis video stream.
This is a convenience method that creates an instance of theStreamConfiguration.Builder avoiding the
need to create one manually via
StreamConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #streams(List.
streams - a consumer that will call methods on
StreamConfiguration.Builder#streams(java.util.Collection) 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.
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.
MediaEncoding,
MediaEncodingKinesisVideoStreamSourceRuntimeConfiguration.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.
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.
MediaEncoding,
MediaEncodingKinesisVideoStreamSourceRuntimeConfiguration.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.
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.
Copyright © 2023. All rights reserved.