Skip to content

Releases: opentok/OpenTok-PHP-SDK

Release v2.2.1

17 Jun 20:42

Choose a tag to compare

This release includes a change to the default media mode for sessions created without the media mode specified. The default media mode is now OpenTok\MediaMode::RELAYED

Release v2.2.0

27 May 21:25

Choose a tag to compare

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.