Scopes & Permissions
Scopes are used by the streaming API to determine what type of user is broadcasting or consuming a stream. A user's scope is encoded into the JWT you mint for them — see JWT-Based Auth for how tokens are issued.
Broadcasting scopes
broadcaster— A user who is broadcasting a public streamprivate-broadcaster— A user who is broadcasting a private stream
Viewer scopes
viewer— A user who is consuming a public streamprivate-viewer— A user who is consuming a private stream