Enum StreamInfo.NalAdaptationFlags
- java.lang.Object
-
- java.lang.Enum<StreamInfo.NalAdaptationFlags>
-
- com.amazonaws.kinesisvideo.producer.StreamInfo.NalAdaptationFlags
-
- All Implemented Interfaces:
Serializable,Comparable<StreamInfo.NalAdaptationFlags>
- Enclosing class:
- StreamInfo
public static enum StreamInfo.NalAdaptationFlags extends Enum<StreamInfo.NalAdaptationFlags>
NAL adaptation types enum. The bit flags correspond to the ones defined in the correspond native counterparts
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NAL_ADAPTATION_ANNEXB_CPD_AND_FRAME_NALSWhether to adapt Annex-B NALUs for the codec and frame private data to Avcc format NALUsNAL_ADAPTATION_ANNEXB_CPD_NALSWhether to adapt Annex-B NALUs for the codec private data to Avcc format NALUsNAL_ADAPTATION_ANNEXB_NALSWhether to adapt Annex-B NALUs to Avcc NALUsNAL_ADAPTATION_AVCC_NALSWhether to adapt Avcc NALUs to Annex-B NALUsNAL_ADAPTATION_FLAG_NONENo flags are set - no adaptation
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamInfo.NalAdaptationFlagsgetFlag(int i)intgetIntValue()static StreamInfo.NalAdaptationFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static StreamInfo.NalAdaptationFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAL_ADAPTATION_FLAG_NONE
public static final StreamInfo.NalAdaptationFlags NAL_ADAPTATION_FLAG_NONE
No flags are set - no adaptation
-
NAL_ADAPTATION_ANNEXB_NALS
public static final StreamInfo.NalAdaptationFlags NAL_ADAPTATION_ANNEXB_NALS
Whether to adapt Annex-B NALUs to Avcc NALUs
-
NAL_ADAPTATION_AVCC_NALS
public static final StreamInfo.NalAdaptationFlags NAL_ADAPTATION_AVCC_NALS
Whether to adapt Avcc NALUs to Annex-B NALUs
-
NAL_ADAPTATION_ANNEXB_CPD_NALS
public static final StreamInfo.NalAdaptationFlags NAL_ADAPTATION_ANNEXB_CPD_NALS
Whether to adapt Annex-B NALUs for the codec private data to Avcc format NALUs
-
NAL_ADAPTATION_ANNEXB_CPD_AND_FRAME_NALS
public static final StreamInfo.NalAdaptationFlags NAL_ADAPTATION_ANNEXB_CPD_AND_FRAME_NALS
Whether to adapt Annex-B NALUs for the codec and frame private data to Avcc format NALUs
-
-
Method Detail
-
values
public static StreamInfo.NalAdaptationFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StreamInfo.NalAdaptationFlags c : StreamInfo.NalAdaptationFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamInfo.NalAdaptationFlags valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getFlag
public static StreamInfo.NalAdaptationFlags getFlag(int i)
-
getIntValue
public int getIntValue()
-
-