Skip to content

Commit af486f4

Browse files
committed
revisions to readme.
1 parent 30adab2 commit af486f4

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The OpenTok PHP SDK lets you generate [sessions](http://tokbox.com/opentok/tutor
77
applications, and [archive](http://tokbox.com/#archiving) OpenTok 2.0 sessions.
88

99
If 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.
181181
See the [Releases](https://github.com/opentok/opentok-php-sdk/releases) page for details
182182
about 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

186196
This version of the SDK includes support for working with OpenTok 2.0 archives. (This API does not
187197
work with OpenTok 1.0 archives.)
@@ -195,12 +205,6 @@ changed to use camel case, including the following:
195205
Note also that the `options` parameter of the `OpenTok.createSession()` method has a `mediaMode`
196206
property 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-
204208
The API_Config class has been removed. Store your OpenTok API key and API secret in code outside of the SDK files.
205209

206210
See the reference documentation

0 commit comments

Comments
 (0)