ZegoScenario Constants Reference

Declared in ZegoExpressDefines.h

ZegoScenario

Room scenario.

Definition

typedef NS_ENUM(NSUInteger, ZegoScenario ) {
   ZegoScenarioGeneral = 0,
   ZegoScenarioCommunication = 1,
   ZegoScenarioLive = 2,
   ZegoScenarioDefault = 3,
   ZegoScenarioStandardVideoCall = 4,
   ZegoScenarioHighQualityVideoCall = 5,
   ZegoScenarioStandardChatroom = 6,
   ZegoScenarioHighQualityChatroom = 7,
   ZegoScenarioBroadcast = 8,
   ZegoScenarioKaraoke = 9,
   ZegoScenarioStandardVoiceCall = 10,
};

Constants

ZegoScenarioGeneral

Legacy general scenario (Deprecated: Legacy general scenario)

Declared In ZegoExpressDefines.h.

ZegoScenarioCommunication

Legacy communication scenario (Deprecated: Legacy communication scenario)

Declared In ZegoExpressDefines.h.

ZegoScenarioLive

Legacy live broadcast scenario (Deprecated: Legacy live broadcast scenario)

Declared In ZegoExpressDefines.h.

ZegoScenarioDefault

Available since: 3.0.0. Description: The default (generic) scenario. If none of the following scenarios conform to your actual application scenario, this default scenario can be used.

Declared In ZegoExpressDefines.h.

ZegoScenarioStandardVideoCall

Available since: 3.0.0. Description: Standard video call scenario, it is suitable for one-to-one video call scenarios.

Declared In ZegoExpressDefines.h.

ZegoScenarioHighQualityVideoCall

Available since: 3.0.0. Description: High quality video call scenario, it is similar to the standard video call scenario, but this scenario uses a higher video frame rate, bit rate, and resolution (540p) by default, which is suitable for video call scenario with high image quality requirements.

Declared In ZegoExpressDefines.h.

ZegoScenarioStandardChatroom

Available since: 3.0.0. Description: Standard chatroom scenario, suitable for multi-person pure voice calls (low data usage). Note: On the ExpressVideo SDK, the camera is not enabled by default in this scenario.

Declared In ZegoExpressDefines.h.

ZegoScenarioHighQualityChatroom

Available since: 3.0.0. Description: High quality chatroom scenario, it is similar to the standard chatroom scenario, but this scenario uses a higher audio bit rate than the standard chatroom scenario by default. It is suitable for multi-person pure voice call scenarios with high requirements on sound quality. Note: On the ExpressVideo SDK, the camera is not enabled by default in this scenario.

Declared In ZegoExpressDefines.h.

ZegoScenarioBroadcast

Available since: 3.0.0. Description: Live broadcast scenario, it is suitable for one-to-many live broadcast scenarios such as shows, games, e-commerce, and large educational classes. The audio and video quality, fluency, and compatibility have been optimized. Note: Even in live broadcast scenarios, the SDK has no business “roles” (such as anchors and viewers), and all users in the room can publish and play streams.

Declared In ZegoExpressDefines.h.

ZegoScenarioKaraoke

Available since: 3.0.0. Description: Karaoke (KTV) scenario, it is suitable for real-time chorus and online karaoke scenarios, and has optimized delay, sound quality, ear return, echo cancellation, etc., and also ensures accurate alignment and ultra-low delay when multiple people chorus.

Declared In ZegoExpressDefines.h.

ZegoScenarioStandardVoiceCall

Available since: 3.3.0. Description: Standard voice call scenario, it is suitable for one-to-one video or voice call scenarios. Note: On the ExpressVideo SDK, the camera is not enabled by default in this scenario.

Declared In ZegoExpressDefines.h.

Declared In

ZegoExpressDefines.h