Skip to content

Releases: opentok/Opentok-Java-SDK

Release v2.2.0

27 May 21:08
Compare
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.)

This version of the SDK includes a number of improvements in the API design. These include a number
of API changes. See the OpenTok 2.2 SDK Reference for details on the new API.

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

The create_session() method has been renamed createSession(). Also, the method has changed to
take one parameter: a SessionProperties object. You now generate a SessionProperties object using a Builder pattern.

The generate_token() method has been renamed generateToken(). Also, the method has changed to
take two parameters: the session ID and a TokenOptions object.

v2.0.0 - OpenTok on WebRTC compatibility update

19 Jul 16:08
Compare
Choose a tag to compare

In the v2.0.0 release, the createToken method has been updated to be compatible with the OpenTok on WebRTC platform. You are now required to correlate a token with a session ID to be able to successfully create the token. This will make it more difficult for someone to generate their own token, and maliciously enter your session.