Interface RtmpMediaStreamInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RtmpMediaStreamInfo.Builder,,RtmpMediaStreamInfo> SdkBuilder<RtmpMediaStreamInfo.Builder,,RtmpMediaStreamInfo> SdkPojo
- Enclosing class:
RtmpMediaStreamInfo
-
Method Summary
Modifier and TypeMethodDescriptionThe number of audio channels in the stream.The codec used for the stream.default RtmpMediaStreamInfo.Buildercolor(Consumer<ColorInformation.Builder> color) The color signaling of the video stream.color(ColorInformation color) The color signaling of the video stream.The number of video frames displayed per second.default RtmpMediaStreamInfo.BuilderframeResolution(Consumer<FrameResolution.Builder> frameResolution) The width and height dimensions of the video frame in pixels.frameResolution(FrameResolution frameResolution) The width and height dimensions of the video frame in pixels.The language of the audio stream.sampleRate(Integer sampleRate) The number of audio samples captured per second.sampleSize(Integer sampleSize) The sample bit size used by the audio stream.The method used to display video frames.The method used to display video frames.A unique identifier for the stream.streamType(String streamType) The type of stream (for example,VIDEOorAUDIO).streamType(SourceMediaStreamType streamType) The type of stream (for example,VIDEOorAUDIO).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
streamId
A unique identifier for the stream.
- Parameters:
streamId- A unique identifier for the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamType
The type of stream (for example,
VIDEOorAUDIO).- Parameters:
streamType- The type of stream (for example,VIDEOorAUDIO).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
streamType
The type of stream (for example,
VIDEOorAUDIO).- Parameters:
streamType- The type of stream (for example,VIDEOorAUDIO).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
codec
The codec used for the stream.
- Parameters:
codec- The codec used for the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameRate
The number of video frames displayed per second. Used when the
streamTypeisVIDEO.- Parameters:
frameRate- The number of video frames displayed per second. Used when thestreamTypeisVIDEO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameResolution
The width and height dimensions of the video frame in pixels. Used when the
streamTypeisVIDEO.- Parameters:
frameResolution- The width and height dimensions of the video frame in pixels. Used when thestreamTypeisVIDEO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameResolution
default RtmpMediaStreamInfo.Builder frameResolution(Consumer<FrameResolution.Builder> frameResolution) The width and height dimensions of the video frame in pixels. Used when the
This is a convenience method that creates an instance of thestreamTypeisVIDEO.FrameResolution.Builderavoiding the need to create one manually viaFrameResolution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toframeResolution(FrameResolution).- Parameters:
frameResolution- a consumer that will call methods onFrameResolution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanMode
The method used to display video frames. Used when the
streamTypeisVIDEO.- Parameters:
scanMode- The method used to display video frames. Used when thestreamTypeisVIDEO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanMode
The method used to display video frames. Used when the
streamTypeisVIDEO.- Parameters:
scanMode- The method used to display video frames. Used when thestreamTypeisVIDEO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
color
The color signaling of the video stream. Used when the
streamTypeisVIDEO.- Parameters:
color- The color signaling of the video stream. Used when thestreamTypeisVIDEO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
color
The color signaling of the video stream. Used when the
This is a convenience method that creates an instance of thestreamTypeisVIDEO.ColorInformation.Builderavoiding the need to create one manually viaColorInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolor(ColorInformation).- Parameters:
color- a consumer that will call methods onColorInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channels
The number of audio channels in the stream. Used when the
streamTypeisAUDIO.- Parameters:
channels- The number of audio channels in the stream. Used when thestreamTypeisAUDIO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleRate
The number of audio samples captured per second. Used when the
streamTypeisAUDIO.- Parameters:
sampleRate- The number of audio samples captured per second. Used when thestreamTypeisAUDIO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleSize
The sample bit size used by the audio stream. Used when the
streamTypeisAUDIO.- Parameters:
sampleSize- The sample bit size used by the audio stream. Used when thestreamTypeisAUDIO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
language
The language of the audio stream. Used when the
streamTypeisAUDIO.- Parameters:
language- The language of the audio stream. Used when thestreamTypeisAUDIO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-