getSessionId()
getSessionId()
Returns the session ID, which uniquely identifies the session.
Represents an OpenTok session.
Use the OpenTok.createSession() method to create an OpenTok session. Use the
getSessionId() method of the Session object to get the session ID.
Summary
getLocation()
getMediaMode()
generateToken()
generateToken(array $options) : string
Creates a token for connecting to the session. In order to authenticate a user, cthe client passes a token when connecting to the session.
For testing, you can also use the OpenTok dashboard page to generate test tokens.
| array | $options | This array defines options for the token. This array include the following keys, all of which are optional:
|
The token string.