Agora Objective-C API Reference for iOS/macOS

AgoraVideoProfile Constants Reference

Declared in AgoraEnumerates.h

AgoraVideoProfile

Video profile.

DEPRECATED

Please use AgoraVideoEncoderConfiguration.

iPhones do not support resolutions above 720p.

Definition

typedef NS_ENUM(NSInteger, AgoraVideoProfile ) {
   AgoraVideoProfileInvalid = -1,
   AgoraVideoProfileLandscape120P = 0,
   AgoraVideoProfileLandscape120P_3 = 2,
   AgoraVideoProfileLandscape180P = 10,
   AgoraVideoProfileLandscape180P_3 = 12,
   AgoraVideoProfileLandscape180P_4 = 13,
   AgoraVideoProfileLandscape240P = 20,
   AgoraVideoProfileLandscape240P_3 = 22,
   AgoraVideoProfileLandscape240P_4 = 23,
   AgoraVideoProfileLandscape360P = 30,
   AgoraVideoProfileLandscape360P_3 = 32,
   AgoraVideoProfileLandscape360P_4 = 33,
   AgoraVideoProfileLandscape360P_6 = 35,
   AgoraVideoProfileLandscape360P_7 = 36,
   AgoraVideoProfileLandscape360P_8 = 37,
   AgoraVideoProfileLandscape360P_9 = 38,
   AgoraVideoProfileLandscape360P_10 = 39,
   AgoraVideoProfileLandscape360P_11 = 100,
   AgoraVideoProfileLandscape480P = 40,
   AgoraVideoProfileLandscape480P_3 = 42,
   AgoraVideoProfileLandscape480P_4 = 43,
   AgoraVideoProfileLandscape480P_6 = 45,
   AgoraVideoProfileLandscape480P_8 = 47,
   AgoraVideoProfileLandscape480P_9 = 48,
   AgoraVideoProfileLandscape480P_10 = 49,
   AgoraVideoProfileLandscape720P = 50,
   AgoraVideoProfileLandscape720P_3 = 52,
   AgoraVideoProfileLandscape720P_5 = 54,
   AgoraVideoProfileLandscape720P_6 = 55,
   AgoraVideoProfileLandscape1080P = 60,
   AgoraVideoProfileLandscape1080P_3 = 62,
   AgoraVideoProfileLandscape1080P_5 = 64,
   AgoraVideoProfileLandscape1440P = 66,
   AgoraVideoProfileLandscape1440P_2 = 67,
   AgoraVideoProfileLandscape4K = 70,
   AgoraVideoProfileLandscape4K_3 = 72,
   AgoraVideoProfilePortrait120P = 1000,
   AgoraVideoProfilePortrait120P_3 = 1002,
   AgoraVideoProfilePortrait180P = 1010,
   AgoraVideoProfilePortrait180P_3 = 1012,
   AgoraVideoProfilePortrait180P_4 = 1013,
   AgoraVideoProfilePortrait240P = 1020,
   AgoraVideoProfilePortrait240P_3 = 1022,
   AgoraVideoProfilePortrait240P_4 = 1023,
   AgoraVideoProfilePortrait360P = 1030,
   AgoraVideoProfilePortrait360P_3 = 1032,
   AgoraVideoProfilePortrait360P_4 = 1033,
   AgoraVideoProfilePortrait360P_6 = 1035,
   AgoraVideoProfilePortrait360P_7 = 1036,
   AgoraVideoProfilePortrait360P_8 = 1037,
   AgoraVideoProfilePortrait360P_9 = 1038,
   AgoraVideoProfilePortrait360P_10 = 1039,
   AgoraVideoProfilePortrait360P_11 = 1100,
   AgoraVideoProfilePortrait480P = 1040,
   AgoraVideoProfilePortrait480P_3 = 1042,
   AgoraVideoProfilePortrait480P_4 = 1043,
   AgoraVideoProfilePortrait480P_6 = 1045,
   AgoraVideoProfilePortrait480P_8 = 1047,
   AgoraVideoProfilePortrait480P_9 = 1048,
   AgoraVideoProfilePortrait480P_10 = 1049,
   AgoraVideoProfilePortrait720P = 1050,
   AgoraVideoProfilePortrait720P_3 = 1052,
   AgoraVideoProfilePortrait720P_5 = 1054,
   AgoraVideoProfilePortrait720P_6 = 1055,
   AgoraVideoProfilePortrait1080P = 1060,
   AgoraVideoProfilePortrait1080P_3 = 1062,
   AgoraVideoProfilePortrait1080P_5 = 1064,
   AgoraVideoProfilePortrait1440P = 1066,
   AgoraVideoProfilePortrait1440P_2 = 1067,
   AgoraVideoProfilePortrait4K = 1070,
   AgoraVideoProfilePortrait4K_3 = 1072,
   AgoraVideoProfileDEFAULT = AgoraVideoProfileLandscape360P,
};

Constants

AgoraVideoProfileInvalid

Invalid profile.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape120P

Resolution 160 × 120, frame rate 15 fps, bitrate 65 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape120P_3

(iOS only) Resolution 120 × 120, frame rate 15 fps, bitrate 50 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape180P

(iOS only) Resolution 320 × 180, frame rate 15 fps, bitrate 140 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape180P_3

(iOS only) Resolution 180 × 180, frame rate 15 fps, bitrate 100 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape180P_4

Resolution 240 × 180, frame rate 15 fps, bitrate 120 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape240P

Resolution 320 × 240, frame rate 15 fps, bitrate 200 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape240P_3

(iOS only) Resolution 240 × 240, frame rate 15 fps, bitrate 140 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape240P_4

Resolution 424 × 240, frame rate 15 fps, bitrate 220 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P

Resolution 640 × 360, frame rate 15 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P_3

(iOS only) Resolution 360 × 360, frame rate 15 fps, bitrate 260 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P_4

Resolution 640 × 360, frame rate 30 fps, bitrate 600 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P_6

Resolution 360 × 360, frame rate 30 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P_7

Resolution 480 × 360, frame rate 15 fps, bitrate 320 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P_8

Resolution 480 × 360, frame rate 30 fps, bitrate 490 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P_9

Resolution 640 × 360, frame rate 15 fps, bitrate 800 Kbps.
Note: This profile applies to the live broadcast channel profile only.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P_10

Resolution 640 × 360, frame rate 24 fps, bitrate 800 Kbps.
Note: This profile applies to the live broadcast channel profile only.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape360P_11

Resolution 640 × 360, frame rate 24 fps, bitrate 1000 Kbps.
Note: This profile applies to the live broadcast channel profile only.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape480P

Resolution 640 × 480, frame rate 15 fps, bitrate 500 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape480P_3

(iOS only) Resolution 480 × 480, frame rate 15 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape480P_4

Resolution 640 × 480, frame rate 30 fps, bitrate 750 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape480P_6

Resolution 480 × 480, frame rate 30 fps, bitrate 600 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape480P_8

Resolution 848 × 480, frame rate 15 fps, bitrate 610 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape480P_9

Resolution 848 × 480, frame rate 30 fps, bitrate 930 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape480P_10

Resolution 640 × 480, frame rate 10 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape720P

Resolution 1280 × 720, frame rate 15 fps, bitrate 1130 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape720P_3

Resolution 1280 × 720, frame rate 30 fps, bitrate 1710 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape720P_5

Resolution 960 × 720, frame rate 15 fps, bitrate 910 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape720P_6

Resolution 960 × 720, frame rate 30 fps, bitrate 1380 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape1080P

(macOS only) Resolution 1920 × 1080, frame rate 15 fps, bitrate 2080 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape1080P_3

(macOS only) Resolution 1920 × 1080, frame rate 30 fps, bitrate 3150 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape1080P_5

(macOS only) Resolution 1920 × 1080, frame rate 60 fps, bitrate 4780 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape1440P

(macOS only) Resolution 2560 × 1440, frame rate 30 fps, bitrate 4850 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape1440P_2

(macOS only) Resolution 2560 × 1440, frame rate 60 fps, bitrate 6500 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape4K

(macOS only) Resolution 3840 × 2160, frame rate 30 fps, bitrate 6500 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileLandscape4K_3

(macOS only) Resolution 3840 × 2160, frame rate 60 fps, bitrate 6500 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait120P

Resolution 120 × 160, frame rate 15 fps, bitrate 65 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait120P_3

(iOS only) Resolution 120 × 120, frame rate 15 fps, bitrate 50 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait180P

(iOS only) Resolution 180 × 320, frame rate 15 fps, bitrate 140 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait180P_3

(iOS only) Resolution 180 × 180, frame rate 15 fps, bitrate 100 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait180P_4

Resolution 180 × 240, frame rate 15 fps, bitrate 120 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait240P

Resolution 240 × 320, frame rate 15 fps, bitrate 200 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait240P_3

(iOS only) Resolution 240 × 240, frame rate 15 fps, bitrate 140 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait240P_4

Resolution 240 × 424, frame rate 15 fps, bitrate 220 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P

Resolution 360 × 640, frame rate 15 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P_3

(iOS only) Resolution 360 × 360, frame rate 15 fps, bitrate 260 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P_4

Resolution 360 × 640, frame rate 30 fps, bitrate 600 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P_6

Resolution 360 × 360, frame rate 30 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P_7

Resolution 360 × 480, frame rate 15 fps, bitrate 320 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P_8

Resolution 360 × 480, frame rate 30 fps, bitrate 490 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P_9

Resolution 360 × 640, frame rate 15 fps, bitrate 600 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P_10

Resolution 360 × 640, frame rate 24 fps, bitrate 800 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait360P_11

Resolution 360 × 640, frame rate 24 fps, bitrate 800 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait480P

Resolution 480 × 640, frame rate 15 fps, bitrate 500 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait480P_3

(iOS only) Resolution 480 × 480, frame rate 15 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait480P_4

Resolution 480 × 640, frame rate 30 fps, bitrate 750 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait480P_6

Resolution 480 × 480, frame rate 30 fps, bitrate 600 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait480P_8

Resolution 480 × 848, frame rate 15 fps, bitrate 610 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait480P_9

Resolution 480 × 848, frame rate 30 fps, bitrate 930 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait480P_10

Resolution 480 × 640, frame rate 10 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait720P

Resolution 720 × 1280, frame rate 15 fps, bitrate 1130 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait720P_3

Resolution 720 × 1280, frame rate 30 fps, bitrate 1710 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait720P_5

Resolution 720 × 960, frame rate 15 fps, bitrate 910 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait720P_6

Resolution 720 × 960, frame rate 30 fps, bitrate 1380 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait1080P

(macOS only) Resolution 1080 × 1920, frame rate 15 fps, bitrate 2080 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait1080P_3

(macOS only) Resolution 1080 × 1920, frame rate 30 fps, bitrate 3150 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait1080P_5

(macOS only) Resolution 1080 × 1920, frame rate 60 fps, bitrate 4780 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait1440P

(macOS only) Resolution 1440 × 2560, frame rate 30 fps, bitrate 4850 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait1440P_2

(macOS only) Resolution 1440 × 2560, frame rate 60 fps, bitrate 6500 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait4K

(macOS only) Resolution 2160 × 3840, frame rate 30 fps, bitrate 6500 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfilePortrait4K_3

(macOS only) Resolution 2160 × 3840, frame rate 60 fps, bitrate 6500 Kbps.

Declared In AgoraEnumerates.h.

AgoraVideoProfileDEFAULT

(Default) Resolution 640 × 360, frame rate 15 fps, bitrate 400 Kbps.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h

Is this page helpful?