Skip to content

Commit 8ddabef

Browse files
authored
Merge branch 'master' into 2.5.0
2 parents 3c0729a + 971ab2d commit 8ddabef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+379
-5263
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ language: python
22
python:
33
- '2.6'
44
- '2.7'
5-
- '3.2'
65
- '3.3'
76
- '3.4'
87
- '3.5'
8+
- '3.6'
99
install:
1010
- pip install -r test_requirements.txt
1111
- pip install -r requirements.txt

README.rst

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,20 @@ Import the package at the top of any file where you will use it. At the very lea
4444
Creating Sessions
4545
~~~~~~~~~~~~~~~~~
4646

47-
The create an OpenTok Session, use the ``opentok.create_session()`` method. There are three optional
48-
keyword parameters for this method: ``location`` which can be set to a string containing an IP
49-
address, ``media_mode`` which is a String (defined by the MediaModes class) and ``archive_mode`` which
50-
specifies whether the session will be automatically archived (``always``) or not (``manual``).
47+
To create an OpenTok Session, use the ``opentok.create_session()`` method. There are three optional
48+
keyword parameters for this method:
49+
50+
* ``location`` which can be set to a string containing an IP address.
51+
52+
* ``media_mode`` which is a String (defined by the MediaModes class).
53+
This determines whether the session will use the
54+
`OpenTok Media Router <https://tokbox.com/developer/guides/create-session/#media-mode>`_
55+
or attempt to send streams directly between clients. A routed session is required for some
56+
OpenTok features (such as archiving).
57+
58+
* ``archive_mode`` which specifies whether the session will be automatically archived (``always``)
59+
or not (``manual``).
60+
5161
This method returns a ``Session`` object. Its ``session_id`` attribute is useful when saving to a persistent
5262
store (such as a database).
5363

@@ -99,7 +109,7 @@ Working with Archives
99109
You can start the recording of an OpenTok Session using the ``opentok.start_archive(session_id)``
100110
method. This method takes an optional keyword argument ``name`` to assign a name to the archive.
101111
This method will return an ``Archive`` instance. Note that you can only start an Archive on
102-
a Session that has clients connection.
112+
a Session that has clients connected.
103113

104114
.. code:: python
105115
@@ -196,8 +206,7 @@ repository and follow the Walkthroughs:
196206
Documentation
197207
-------------
198208

199-
Reference documentation is available at <http://www.tokbox.com/opentok/libraries/server/python/reference/index.html> and in the
200-
docs directory of the SDK.
209+
Reference documentation is available at <http://www.tokbox.com/opentok/libraries/server/python/reference/index.html>.
201210

202211
Requirements
203212
------------

docs/README.html

Lines changed: 0 additions & 315 deletions
This file was deleted.

docs/_sources/README.txt

Lines changed: 0 additions & 241 deletions
This file was deleted.

docs/_sources/docs/modules.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/_sources/docs/opentok.txt

Lines changed: 0 additions & 54 deletions
This file was deleted.

docs/_sources/index.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/_static/ajax-loader.gif

-673 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)