module AgoraDynamicKey::RTCTokenBuilder::Role

Constants

ADMIN

DEPRECATED. Role::ADMIN has the same privileges as Role::PUBLISHER.

ATTENDEE

DEPRECATED. Role::ATTENDEE has the same privileges as Role::PUBLISHER.

PUBLISHER

RECOMMENDED. Use this role for a voice/video call or a live broadcast, if your scenario does not require authentication for [Hosting-in](docs.agora.io/en/Agora%20Platform/terms?platform=All%20Platforms#hosting-in).

SUBSCRIBER

Only use this role if your scenario require authentication for [Hosting-in](docs.agora.io/en/Agora%20Platform/terms?platform=All%20Platforms#hosting-in). @note In order for this role to take effect, please contact our support team to enable authentication for Hosting-in for you. Otherwise, Role::SUBSCRIBER still has the same privileges as Role::PUBLISHER.