File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ 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
184+ ## Important changes in v2.2.1
185185
186186This version of the SDK includes support for working with OpenTok 2.0 archives. (This API does not
187187work with OpenTok 1.0 archives.)
@@ -195,6 +195,12 @@ changed to use camel case, including the following:
195195Note also that the ` options ` parameter of the ` OpenTok.createSession() ` method has a ` mediaMode `
196196property 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+
198204The API_Config class has been removed. Store your OpenTok API key and API secret in code outside of the SDK files.
199205
200206See the reference documentation
You can’t perform that action at this time.
0 commit comments