Skip to content

Release v2.2.0

Compare
Choose a tag to compare
@jeffswartz jeffswartz released this 20 Jun 22:22
· 356 commits to main since this release

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.