@@ -183,7 +183,7 @@ List<Archive> archives = opentok.listArchives(50, 50);
183
183
184
184
# Samples
185
185
186
- There are two sample applications included in this repository . To get going as fast as possible, clone the whole
186
+ There are two sample applications included with the SDK . To get going as fast as possible, clone the whole
187
187
repository and follow the Walkthroughs:
188
188
189
189
* [ HelloWorld] ( sample/HelloWorld/README.md )
@@ -207,7 +207,7 @@ This project is tested on both OpenJDK and Oracle implementations.
207
207
See the [ Releases] ( https://github.com/opentok/opentok-java-sdk/releases ) page for details
208
208
about each release.
209
209
210
- # Important changes in v2.2
210
+ # Important changes in v2.2.1
211
211
212
212
This version of the SDK includes support for working with OpenTok 2.0 archives. (This API does not
213
213
work with OpenTok 1.0 archives.)
@@ -220,6 +220,12 @@ The API_Config class has been removed. Store your OpenTok API key and API secret
220
220
The ` create_session() ` method has been renamed ` createSession() ` . Also, the method has changed to
221
221
take one parameter: a SessionProperties object. You now generate a SessionProperties object using a Builder pattern.
222
222
223
+ The default setting for the ` createSession() ` method is to create a session with the media mode set
224
+ to relayed. In previous versions of the SDK, the default setting was to use the OpenTok Media Router
225
+ (media mode set to routed). In a relayed session, clients will attempt to send streams directly between
226
+ each other (peer-to-peer); if clients cannot connect due to firewall restrictions, the session uses the
227
+ OpenTok TURN server to relay audio-video streams.
228
+
223
229
The ` generate_token() ` method has been renamed ` generateToken() ` . Also, the method has changed to
224
230
take two parameters: the session ID and a TokenOptions object.
225
231
0 commit comments