Skip to content

Commit 8936f78

Browse files
committed
Update Python Server SDK docs to have a relay mode by default.
1 parent 9db631b commit 8936f78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ as a database).
5555

5656
.. code:: python
5757
58-
# Just a plain Session:
59-
session = opentok.create_session()
60-
# A Session that attempts to send streams directly between clients (falling back
58+
# Create a session that attempts to send streams directly between clients (falling back
6159
# to use the OpenTok TURN server to relay streams if the clients cannot connect):
60+
session = opentok.create_session()
61+
# A session that uses the OpenTok Media Router:
6262
session = opentok.create_session(media_mode=MediaModes.relayed)
63-
# A Session with a location hint
63+
# A session with a location hint
6464
session = opentok.create_session(location=u'12.34.56.78')
6565
6666
# Store this session ID in the database

0 commit comments

Comments
 (0)