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 StringavcLevel()Indicates the degree of required decoder performance for a profile.final StringIndicates to the decoder the requirements for decoding the stream.static VideoConfiguration.Builderbuilder()final Stringcodec()Codec used for the video encoding.final Stringencoder()Software or hardware used to encode the video.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final Stringlevel()Indicates the degree of required decoder performance for a profile.final Stringprofile()Indicates to the decoder the requirements for decoding the stream.static Class<? extends VideoConfiguration.Builder> final LongThe expected ingest bitrate (bits per second).final LongThe expected ingest framerate.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringtrack()Name of the video track.final LongVideo-resolution height in pixels.final LongVideo-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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<VideoConfiguration.Builder,VideoConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-