Skip to content

Commit 30adab2

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents c5b0ed9 + cb319aa commit 30adab2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ 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
184+
## Important changes in v2.2.1
185185

186186
This version of the SDK includes support for working with OpenTok 2.0 archives. (This API does not
187187
work with OpenTok 1.0 archives.)
@@ -195,6 +195,12 @@ changed to use camel case, including the following:
195195
Note also that the `options` parameter of the `OpenTok.createSession()` method has a `mediaMode`
196196
property instead of a `p2p` property.
197197

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+
198204
The API_Config class has been removed. Store your OpenTok API key and API secret in code outside of the SDK files.
199205

200206
See the reference documentation

0 commit comments

Comments
 (0)