Class VideoConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VideoConfiguration.Builder,
VideoConfiguration>
Object specifying a stream’s video configuration, as set up by the broadcaster (usually in an encoder). This is part of the IngestConfigurations object and the deprecated IngestConfiguration object. It is used for monitoring stream health.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
avcLevel()
Indicates the degree of required decoder performance for a profile.final String
Indicates to the decoder the requirements for decoding the stream.static VideoConfiguration.Builder
builder()
final String
codec()
Codec used for the video encoding.final String
encoder()
Software or hardware used to encode the video.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
level()
Indicates the degree of required decoder performance for a profile.final String
profile()
Indicates to the decoder the requirements for decoding the stream.static Class
<? extends VideoConfiguration.Builder> final Long
The expected ingest bitrate (bits per second).final Long
The expected ingest framerate.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
track()
Name of the video track.final Long
Video-resolution height in pixels.final Long
Video-resolution width in pixels.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
avcLevel
Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification.
- Returns:
- Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification.
-
avcProfile
Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification.
- Returns:
- Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification.
-
codec
Codec used for the video encoding.
- Returns:
- Codec used for the video encoding.
-
encoder
Software or hardware used to encode the video.
- Returns:
- Software or hardware used to encode the video.
-
level
Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. When an AVC codec is used, this field has the same value as
avcLevel
.- Returns:
- Indicates the degree of required decoder performance for a profile. Normally this is set automatically by
the encoder. When an AVC codec is used, this field has the same value as
avcLevel
.
-
profile
Indicates to the decoder the requirements for decoding the stream. When an AVC codec is used, this field has the same value as
avcProfile
.- Returns:
- Indicates to the decoder the requirements for decoding the stream. When an AVC codec is used, this field
has the same value as
avcProfile
.
-
targetBitrate
The expected ingest bitrate (bits per second). This is configured in the encoder.
- Returns:
- The expected ingest bitrate (bits per second). This is configured in the encoder.
-
targetFramerate
The expected ingest framerate. This is configured in the encoder.
- Returns:
- The expected ingest framerate. This is configured in the encoder.
-
track
Name of the video track. If multitrack is not enabled, this is track0 (the sole track).
- Returns:
- Name of the video track. If multitrack is not enabled, this is track0 (the sole track).
-
videoHeight
Video-resolution height in pixels.
- Returns:
- Video-resolution height in pixels.
-
videoWidth
Video-resolution width in pixels.
- Returns:
- Video-resolution width in pixels.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<VideoConfiguration.Builder,
VideoConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-