AgoraMediaPixelFormat Constants Reference

Declared in AgoraMediaPlayerKit.h

AgoraMediaPixelFormat

AgoraMediaPixelFormat, reporting the pixel format of the video stream.

Definition

typedef NS_ENUM(NSInteger, AgoraMediaPixelFormat ) {
   AgoraMediaPixelFormatUnknown = 0,
   AgoraMediaPixelFormatI420 = 1,
   AgoraMediaPixelFormatBGRA = 2,
   AgoraMediaPixelFormatI422 = 3,
   AgoraMediaPixelFormatNV12 = 8,
};

Constants

AgoraMediaPixelFormatUnknown

0: The format is known.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPixelFormatI420

1: The format is I420.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPixelFormatBGRA

2: The format is BGRA.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPixelFormatI422

3: The format is Planar YUV422.

Declared In AgoraMediaPlayerKit.h.

AgoraMediaPixelFormatNV12

8: The format is NV12.

Declared In AgoraMediaPlayerKit.h.

Declared In

AgoraMediaPlayerKit.h