Module: AgoraDynamicKey::RTCTokenBuilder::Role
- Defined in:
- lib/dynamic_key/rtc_token_builder.rb
Constant Summary collapse
- ATTENDEE =
DEPRECATED. Role::ATTENDEE has the same privileges as Role::PUBLISHER.
0- 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).
1- SUBSCRIBER =
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.
Only use this role if your scenario require authentication for [Hosting-in](docs.agora.io/en/Agora%20Platform/terms?platform=All%20Platforms#hosting-in).
2- ADMIN =
DEPRECATED. Role::ADMIN has the same privileges as Role::PUBLISHER.
101