Package io.agora.rtc2

Enum Class Constants.VideoModulePosition

java.lang.Object
java.lang.Enum<Constants.VideoModulePosition>
io.agora.rtc2.Constants.VideoModulePosition
All Implemented Interfaces:
Serializable, Comparable<Constants.VideoModulePosition>, Constable
Enclosing class:
Constants

public static enum Constants.VideoModulePosition extends Enum<Constants.VideoModulePosition>
  • Enum Constant Details

    • VIDEO_MODULE_POSITION_POST_CAPTURER

      public static final Constants.VideoModulePosition 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

      public static final Constants.VideoModulePosition 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

      public static final Constants.VideoModulePosition 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

      public static final Constants.VideoModulePosition 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

      public static Constants.VideoModulePosition[] 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

      public static Constants.VideoModulePosition valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public static int getValue(Constants.VideoModulePosition position)