@@ -7,7 +7,7 @@ The OpenTok PHP SDK lets you generate [sessions](http://tokbox.com/opentok/tutor
77applications, and [ archive] ( http://tokbox.com/#archiving ) OpenTok 2.0 sessions.
88
99If you are updating from a previous version of this SDK, see
10- [ Important changes in v2.2] ( #important-changes-in-v22 ) .
10+ [ Important changes in v2.2] ( #important-changes-since-v220 ) .
1111
1212# Installation
1313
@@ -181,7 +181,17 @@ The OpenTok PHP SDK requires PHP 5.3 or greater.
181181See the [ Releases] ( https://github.com/opentok/opentok-php-sdk/releases ) page for details
182182about each release.
183183
184- ## Important changes in v2.2.1
184+ # Important changes since v2.2.0
185+
186+ ** Changes in v2.2.1:**
187+
188+ The default setting for the ` createSession() ` method is to create a session with the media mode set
189+ to relayed. In previous versions of the SDK, the default setting was to use the OpenTok Media Router
190+ (media mode set to routed). In a relayed session, clients will attempt to send streams directly
191+ between each other (peer-to-peer); if clients cannot connect due to firewall restrictions, the
192+ session uses the OpenTok TURN server to relay audio-video streams.
193+
194+ ** Changes in v2.2.0:**
185195
186196This version of the SDK includes support for working with OpenTok 2.0 archives. (This API does not
187197work with OpenTok 1.0 archives.)
@@ -195,12 +205,6 @@ changed to use camel case, including the following:
195205Note also that the ` options ` parameter of the ` OpenTok.createSession() ` method has a ` mediaMode `
196206property instead of a ` p2p ` property.
197207
198- The default setting for the ` createSession() ` method is to create a session with the media mode set
199- to relayed. In previous versions of the SDK, the default setting was to use the OpenTok Media Router
200- (media mode set to routed). In a relayed session, clients will attempt to send streams directly
201- between each other (peer-to-peer); if clients cannot connect due to firewall restrictions, the
202- session uses the OpenTok TURN server to relay audio-video streams.
203-
204208The API_Config class has been removed. Store your OpenTok API key and API secret in code outside of the SDK files.
205209
206210See the reference documentation
0 commit comments