Skip to content

Commit d6f8ae7

Browse files
committed
Docs - new default setting for createSession()
1 parent a1a5446 commit d6f8ae7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ This version of the SDK includes support for working with OpenTok 2.0 archives.
184184
work with OpenTok 1.0 archives.)
185185

186186
The OpenTok.create_session() method now includes a media_mode parameter, instead of a p2p parameter.
187+
The default setting for the create_session() method is to create a session with the media mode set
188+
to relayed. In previous versions of the SDK, the default setting was to use the OpenTok Media Router
189+
(media mode set to routed). In a relayed session, clients will attempt to send streams directly
190+
between each other (peer-to-peer); if clients cannot connect due to firewall restrictions, the
191+
session uses the OpenTok TURN server to relay audio-video streams.
187192

188193
For details, see the reference documentation at
189194
<http://www.tokbox.com/opentok/libraries/server/python/reference/index.html>.

0 commit comments

Comments
 (0)