Defines values for the role parameter of the \OpenTok\OpenTok->generateToken()
method.
Summary
MethodsPropertiesConstantsNo public methods foundNo public properties foundSUBSCRIBER PUBLISHER MODERATOR No protected methods foundNo protected properties foundN/ANo private methods foundNo private properties foundN/A
Constants
SUBSCRIBER
SUBSCRIBER
A subscriber can only subscribe to streams.
PUBLISHER
PUBLISHER
A publisher can publish streams, subscribe to streams, and signal. (This is the default
value if you do not set a role.)
MODERATOR
MODERATOR
In addition to the privileges granted to a publisher, in clients using the OpenTok.js
library, a moderator can call the forceUnpublish() and forceDisconnect() methods of
the Session object.