AgoraClientRole Constants Reference

Declared in AgoraEnumerates.h

AgoraClientRole

Client role in a live broadcast.

Definition

typedef NS_ENUM(NSInteger, AgoraClientRole ) {
   AgoraClientRoleBroadcaster = 1,
   AgoraClientRoleAudience = 2,
};

Constants

AgoraClientRoleBroadcaster

1: Broadcaster. A broadcaster can both send and receive streams.

Declared In AgoraEnumerates.h.

AgoraClientRoleAudience

2: Audience, the default role. An audience can only receive streams.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h