AgoraClientRole Constants Reference

Declared in AgoraEnumerates.h

AgoraClientRole

The role of a user in a interactive live streaming.

Definition

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

Constants

AgoraClientRoleBroadcaster

1: Host. A host can both send and receive streams.

Declared In AgoraEnumerates.h.

AgoraClientRoleAudience

2: (Default) Audience. An audience member can only receive streams.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h