AgoraVideoPixelFormat Constants Reference

Declared in AgoraMediaIO.h

AgoraVideoPixelFormat

Video pixel format.

This enumeration defines the pixel format of the video frame. Agora supports three pixel formats on iOS: I420, BGRA, and NV12. For information on the YVU format, see:

Definition

typedef NS_ENUM(NSUInteger, AgoraVideoPixelFormat ) {
   AgoraVideoPixelFormatI420 = 1,
   AgoraVideoPixelFormatBGRA = 2,
   AgoraVideoPixelFormatNV12 = 8,
};

Constants

AgoraVideoPixelFormatI420

I420

Declared In AgoraMediaIO.h.

AgoraVideoPixelFormatBGRA

BGRA

Declared In AgoraMediaIO.h.

AgoraVideoPixelFormatNV12

NV12

Declared In AgoraMediaIO.h.

Declared In

AgoraMediaIO.h