Inherits from | NSObject |
---|---|
Declared in | OTSession.h |
Overview
Defines the [OTSession capabilities] property. After you have
connected to a session and the [OTSessionDelegate sessionDidConnect:]
method has been called, this property identifies whether the client can
publish and subscribe to streams in the session, based on the role assigned
to the token used to connect to the session. For example, if you connect to a
session using a token that is assigned a Subscriber role, the canPublish
property of this object is set to NO
(and the client does not have
privileges to publish to the session). For more information, see the OpenTok
token creation
documentation.