Package tvi.webrtc
Enum VideoCodecStatus
- java.lang.Object
-
- java.lang.Enum<VideoCodecStatus>
-
- tvi.webrtc.VideoCodecStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VideoCodecStatus>
public enum VideoCodecStatus extends java.lang.Enum<VideoCodecStatus>
Status codes reported by video encoding/decoding components. This should be kept in sync with video_error_codes.h.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERR_PARAMETER
ERR_REQUEST_SLI
ERR_SIZE
ERROR
FALLBACK_SOFTWARE
LEVEL_EXCEEDED
MEMORY
NO_OUTPUT
OK
REQUEST_SLI
SIMULCAST_PARAMETERS_NOT_SUPPORTED
TARGET_BITRATE_OVERSHOOT
TIMEOUT
UNINITIALIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumber()
static VideoCodecStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VideoCodecStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUEST_SLI
public static final VideoCodecStatus REQUEST_SLI
-
NO_OUTPUT
public static final VideoCodecStatus NO_OUTPUT
-
OK
public static final VideoCodecStatus OK
-
ERROR
public static final VideoCodecStatus ERROR
-
LEVEL_EXCEEDED
public static final VideoCodecStatus LEVEL_EXCEEDED
-
MEMORY
public static final VideoCodecStatus MEMORY
-
ERR_PARAMETER
public static final VideoCodecStatus ERR_PARAMETER
-
ERR_SIZE
public static final VideoCodecStatus ERR_SIZE
-
TIMEOUT
public static final VideoCodecStatus TIMEOUT
-
UNINITIALIZED
public static final VideoCodecStatus UNINITIALIZED
-
ERR_REQUEST_SLI
public static final VideoCodecStatus ERR_REQUEST_SLI
-
FALLBACK_SOFTWARE
public static final VideoCodecStatus FALLBACK_SOFTWARE
-
TARGET_BITRATE_OVERSHOOT
public static final VideoCodecStatus TARGET_BITRATE_OVERSHOOT
-
SIMULCAST_PARAMETERS_NOT_SUPPORTED
public static final VideoCodecStatus SIMULCAST_PARAMETERS_NOT_SUPPORTED
-
-
Method Detail
-
values
public static VideoCodecStatus[] 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 (VideoCodecStatus c : VideoCodecStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VideoCodecStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public int getNumber()
-
-