Skip to content

Release v2.2.0

Choose a tag to compare

@aoberoi aoberoi released this 27 May 21:25

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 names of many methods of the API have changed. Many method names have
changed to use camel case, including the following:

  • OpenTok.createSession()
  • OpenTok.generateToken()

Note also that the options parameter of the OpenTok.createSession() method has a mediaMode
property instead of a p2p property.

The API_Config class has been removed. Store your OpenTok API key and API secret in code outside of the SDK files.

See the reference documentation
http://www.tokbox.com/opentok/libraries/server/php/reference/index.html and in the
docs directory of the SDK.