Enum FrameEncoders.Status
- java.lang.Object
-
- java.lang.Enum<FrameEncoders.Status>
-
- com.openinventor.remoteviz.rendering.FrameEncoders.Status
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<FrameEncoders.Status>
- Enclosing class:
- FrameEncoders
public static enum FrameEncoders.Status extends java.lang.Enum<FrameEncoders.Status> implements IntegerValuedEnum
Frame encoder status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_UNSUPPORTED
The codec format is not supported by the client (Example: the client does not support H.264 decoding).INCOMPATIBLE
The pair (still encoder, interactive encoder) is incompatible.SUPPORTED
The encoder can be loaded and used by the service.UNSUPPORTED
Reasons: The encoder cannot be loaded by the service: the RemoteViz codec library (fei_remoteViz_*_codec) is missing or at least one dependency is not satisfied (On Linux, the command ldd can be used to check if dependencies are satisfied).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static FrameEncoders.Status
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic FrameEncoders.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FrameEncoders.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUPPORTED
public static final FrameEncoders.Status SUPPORTED
The encoder can be loaded and used by the service.
-
UNSUPPORTED
public static final FrameEncoders.Status UNSUPPORTED
Reasons:- The encoder cannot be loaded by the service: the RemoteViz codec library (fei_remoteViz_*_codec) is missing or at least one dependency is not satisfied (On Linux, the command ldd can be used to check if dependencies are satisfied).
- The encoder is not supported by the system (Example: no Nvidia GPU to use H264_NVENC). Enabling debugging will output more verbose information.
-
INCOMPATIBLE
public static final FrameEncoders.Status INCOMPATIBLE
The pair (still encoder, interactive encoder) is incompatible.
-
CLIENT_UNSUPPORTED
public static final FrameEncoders.Status CLIENT_UNSUPPORTED
The codec format is not supported by the client (Example: the client does not support H.264 decoding).
-
-
Method Detail
-
values
public static FrameEncoders.Status[] 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 (FrameEncoders.Status c : FrameEncoders.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrameEncoders.Status 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
-
valueOf
public static FrameEncoders.Status valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-