Module: Agora::AgoraDynamicKey::RTCTokenBuilder::Role

Defined in:
lib/agora/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 [Co-host](docs.agora.io/en/video-calling/get-started/authentication-workflow?#co-host-token-authentication).

1
SUBSCRIBER =
Note:

In order for this role to take effect, please contact our support team to enable authentication for Co-host for you. Otherwise, Role::SUBSCRIBER still has the same privileges as Role::PUBLISHER.

Only use this role if your scenario require authentication for [Co-host](docs.agora.io/en/video-calling/get-started/authentication-workflow?#co-host-token-authentication).

2
ADMIN =

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

101