Package io.agora.rtc2
Enum Class Constants.VideoModulePosition
- All Implemented Interfaces:
Serializable,Comparable<Constants.VideoModulePosition>,Constable
- Enclosing class:
- Constants
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription1: The location of the locally collected video data after preprocessing corresponds to the `onCaptureVideoFrame` callback.8: The position after local video capture and before pre-processing.4: The pre-encoder position , which corresponds to the video data in the `onPreEncodeVideoFrame` callback.2: The pre-renderer position , which corresponds to the video data in the `onRenderVideoFrame` callback. -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetValue(Constants.VideoModulePosition position) Returns the enum constant of this class with the specified name.static Constants.VideoModulePosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
VIDEO_MODULE_POSITION_POST_CAPTURER
1: The location of the locally collected video data after preprocessing corresponds to the `onCaptureVideoFrame` callback. The observed video here has the effect of video pre-processing, which can be verified by enabling image enhancement, virtual background, or watermark. -
VIDEO_MODULE_POSITION_PRE_RENDERER
2: The pre-renderer position , which corresponds to the video data in the `onRenderVideoFrame` callback. -
VIDEO_MODULE_POSITION_PRE_ENCODER
4: The pre-encoder position , which corresponds to the video data in the `onPreEncodeVideoFrame` callback. The observed video here has the effects of video pre-processing and encoding pre-processing. - To verify the pre-processing effects of the video, you can enable image enhancement, virtual background, or watermark. - To verify the pre-encoding processing effect, you can set a lower frame rate (for example, 5 fps). -
VIDEO_MODULE_POSITION_POST_CAPTURER_ORIGIN
8: The position after local video capture and before pre-processing. The observed video here does not have pre-processing effects, which can be verified by enabling image enhancement, virtual background, or watermarks.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-