Skip to main content

index/variables/STREAM_PERMISSION.md

const STREAM_PERMISSION: object

Stream permission enumeration

All permissions available in the role system:

  • MANAGE_COMMENTS: Create/delete comments
  • MANAGE_CHAT: Send/delete chat messages
  • BAN_USERS: Ban users from token streams
  • UNBAN_USERS: Remove bans from users
  • MANAGE_SIMULCAST: Add/remove simulcast targets
  • GET_STREAM_KEY: View the stream key
  • STOP_STREAM: Stop an active stream
  • RESET_STREAM_KEY: Generate a new stream key
  • START_STREAM: Start a new stream
  • DELETE_RECORDINGS: Delete stream recordings
  • MANAGE_STREAM_SETTINGS: Update stream settings (countdown, language)

Type Declaration​

NameType
BAN_USERS"BAN_USERS"
DELETE_RECORDINGS"DELETE_RECORDINGS"
GET_STREAM_KEY"GET_STREAM_KEY"
MANAGE_CHAT"MANAGE_CHAT"
MANAGE_COMMENTS"MANAGE_COMMENTS"
MANAGE_SIMULCAST"MANAGE_SIMULCAST"
MANAGE_STREAM_SETTINGS"MANAGE_STREAM_SETTINGS"
RESET_STREAM_KEY"RESET_STREAM_KEY"
START_STREAM"START_STREAM"
STOP_STREAM"STOP_STREAM"
UNBAN_USERS"UNBAN_USERS"

Since​

5.10.0