AgoraVideoRenderMode Constants Reference

Declared in AgoraEnumerates.h

AgoraVideoRenderMode

Video display mode.

Definition

typedef NS_ENUM(NSUInteger, AgoraVideoRenderMode ) {
   AgoraVideoRenderModeHidden = 1,
   AgoraVideoRenderModeFit = 2,
   AgoraVideoRenderModeAdaptive = 3,
   AgoraVideoRenderModeFill = 4,
};

Constants

AgoraVideoRenderModeHidden

Hidden(1): Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.

Declared In AgoraEnumerates.h.

AgoraVideoRenderModeFit

Fit(2): Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to the disparity in the aspect ratio are filled with black.

Declared In AgoraEnumerates.h.

AgoraVideoRenderModeAdaptive

Adaptive(3):This mode is deprecated.

Declared In AgoraEnumerates.h.

AgoraVideoRenderModeFill

Fill(4): The fill mode. In this mode, the SDK stretches or zooms the video to fill the display window.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h