Release v2.2.0
This version of the SDK includes support for working with OpenTok 2.0 archives. (This API does not
work with OpenTok 1.0 archives.)
The createSession()
method has changed to take one parameter: an options
object that has location
and mediaMode
properties. The mediaMode
property replaces the properties.p2p.preference
parameter in the previous version of the SDK.
The generateToken()
has changed to take two parameters: the session ID and an options
object that has role
, expireTime
and data
properties.