ZegoVideoConfigPreset Constants Reference

Declared in ZegoExpressDefines.h

ZegoVideoConfigPreset

Video configuration resolution and bitrate preset enumeration. The preset resolutions are adapted for mobile and desktop. On mobile, height is longer than width, and desktop is the opposite. For example, 1080p is actually 1080(w) x 1920(h) on mobile and 1920(w) x 1080(h) on desktop.

Definition

typedef NS_ENUM(NSUInteger, ZegoVideoConfigPreset ) {
   ZegoVideoConfigPreset180P = 0,
   ZegoVideoConfigPreset270P = 1,
   ZegoVideoConfigPreset360P = 2,
   ZegoVideoConfigPreset540P = 3,
   ZegoVideoConfigPreset720P = 4,
   ZegoVideoConfigPreset1080P = 5,
};

Constants

ZegoVideoConfigPreset180P

Set the resolution to 320x180, the default is 15 fps, the code rate is 300 kbps

Declared In ZegoExpressDefines.h.

ZegoVideoConfigPreset270P

Set the resolution to 480x270, the default is 15 fps, the code rate is 400 kbps

Declared In ZegoExpressDefines.h.

ZegoVideoConfigPreset360P

Set the resolution to 640x360, the default is 15 fps, the code rate is 600 kbps

Declared In ZegoExpressDefines.h.

ZegoVideoConfigPreset540P

Set the resolution to 960x540, the default is 15 fps, the code rate is 1200 kbps

Declared In ZegoExpressDefines.h.

ZegoVideoConfigPreset720P

Set the resolution to 1280x720, the default is 15 fps, the code rate is 1500 kbps

Declared In ZegoExpressDefines.h.

ZegoVideoConfigPreset1080P

Set the resolution to 1920x1080, the default is 15 fps, the code rate is 3000 kbps

Declared In ZegoExpressDefines.h.

Declared In

ZegoExpressDefines.h