VIDEO_MODULE_POSITION

Position of video frames in the video observer.

Enumerations

POSITION_POST_CAPTURER
(1): Position after local video capture and preprocessing, corresponding to the onCaptureVideoFrame callback. Video at this position has applied pre-processing effects, which can be verified by enabling beauty effects, virtual background, or watermark.
POSITION_PRE_RENDERER
(2): Position before rendering, corresponding to the video data in the onRenderVideoFrame callback.
POSITION_PRE_ENCODER
(4): Position before encoding, corresponding to the video data in the onPreEncodeVideoFrame callback. Video at this position has applied both pre-processing and pre-encoding effects.
  • To verify pre-processing effects, you can enable beauty effects, virtual background, or watermark.
  • To verify pre-encoding effects, you can set a low frame rate (e.g., 5 fps).
POSITION_POST_CAPTURER_ORIGIN
(8): Position after local video capture and before preprocessing. Video at this position has not applied pre-processing effects and can be verified by enabling beauty effects, virtual background, or watermark.