Interface NdiMediaStreamInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NdiMediaStreamInfo.Builder,,NdiMediaStreamInfo> SdkBuilder<NdiMediaStreamInfo.Builder,,NdiMediaStreamInfo> SdkPojo
- Enclosing class:
NdiMediaStreamInfo
-
Method Summary
Modifier and TypeMethodDescriptionThe number of audio channels in the stream.The codec used for the media stream.The number of video frames displayed per second.default NdiMediaStreamInfo.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.sampleRate(Integer sampleRate) The number of audio samples captured per second, measured in kilohertz (kHz).The method used to display video frames.The method used to display video frames.A unique identifier for the media stream.streamType(String streamType) The type of media 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
-
streamType
The type of media stream (for example,
VideoorAudio).- Parameters:
streamType- The type of media stream (for example,VideoorAudio).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codec
The codec used for the media stream. For NDI sources, use
speed-hq.- Parameters:
codec- The codec used for the media stream. For NDI sources, usespeed-hq.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamId
A unique identifier for the media stream.
- Parameters:
streamId- A unique identifier for the media stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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 NdiMediaStreamInfo.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:
-
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.
-
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, measured in kilohertz (kHz). Used when the
streamTypeisAudio.- Parameters:
sampleRate- The number of audio samples captured per second, measured in kilohertz (kHz). Used when thestreamTypeisAudio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-