Enum Role
- Namespace
- Vonage.Video.Authentication
- Assembly
- Vonage.dll
Defines values for the role parameter of the GenerateToken method of the Vonage Video API.
public enum Role
Fields
Moderator = 2In addition to the privileges granted to a publisher, a moderator can perform moderation functions, such as forcing clients to disconnect, to stop publishing streams, or to mute audio in published streams. See the Moderation developer guide.
Publisher = 0A publisher can publish streams, subscribe to streams, and signal. This is the default role.
PublisherOnly = 3A publisher-only role can publish streams, but not signal.
Subscriber = 1A subscriber can only subscribe to streams.