You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composed archives (output_mode=OutputModes.composed) have an optional ``resolution`` parameter.
150
-
If no value is supplied the opentok platform will use the default resolution "640x480".
151
-
You can set this to "1280x720" by setting the
163
+
If no value is supplied, the archive will use the default resolution, "640x480".
164
+
You can set this to another resolution by setting the
152
165
``resolution`` parameter of the ``opentok.start_archive()`` method.
153
166
154
-
Warning: This value cannot be set for Individual output mode, an error will be thrown.
167
+
You can specify the following archive resolutions:
168
+
169
+
* "640x480" (SD landscape, default resolution)
170
+
* "480x640" (SD portrait)
171
+
* "1280x720" (HD landscape)
172
+
* "720x1280" (HD portrait)
173
+
* "1920x1080" (FHD landscape)
174
+
* "1080x1920" (FHD portrait)
175
+
176
+
Setting the ``resolution`` parameter while setting the ``output_mode`` parameter to
177
+
``OutputModes.individual`` results in an error.
155
178
156
179
.. code:: python
157
180
@@ -160,7 +183,7 @@ Warning: This value cannot be set for Individual output mode, an error will be t
160
183
# Store this archive_id in the database
161
184
archive_id = archive.id
162
185
163
-
You can stop the recording of a started Archive using the ``opentok.stop_archive(archive_id)``
186
+
To stop the recording of a started archive, call the ``opentok.stop_archive(archive_id)``
164
187
method. You can also do this using the ``archive.stop()`` method of an ``Archive`` instance.
165
188
166
189
.. code:: python
@@ -195,7 +218,7 @@ filter by session ID. This method returns an instance of the ``ArchiveList`` cla
195
218
196
219
.. code:: python
197
220
198
-
archive_list = opentok.list_archive()
221
+
archive_list = opentok.list_archives()
199
222
200
223
# Get a specific Archive from the list
201
224
archive = archive_list.items[i]
@@ -371,7 +394,8 @@ Working with Broadcasts
371
394
372
395
OpenTok broadcast lets you share live OpenTok sessions with many viewers.
373
396
374
-
You can use the ``opentok.start_broadcast()`` method to start a live streaming for an OpenTok session. This broadcasts the session to an HLS (HTTP live streaming) or to RTMP streams.
397
+
You can use the ``opentok.start_broadcast()`` method to start a live stream for an OpenTok session.
398
+
This broadcasts the session to HLS (HTTP live streaming) or to RTMP streams.
375
399
376
400
To successfully start broadcasting a session, at least one client must be connected to the session.
377
401
@@ -403,6 +427,15 @@ The live streaming broadcast can target one HLS endpoint and up to five RTMP ser
@@ -495,7 +578,7 @@ repository and follow the Walkthroughs:
495
578
Documentation
496
579
-------------
497
580
498
-
Reference documentation is available at http://www.tokbox.com/opentok/libraries/server/python/reference/index.html.
581
+
Reference documentation is available at https://tokbox.com/developer/sdks/python/reference/.
499
582
500
583
Requirements
501
584
------------
@@ -532,7 +615,7 @@ The Client.create_session() method now includes a media_mode parameter, instead
532
615
This version of the SDK includes significant improvements such as top level entity naming, where the Opentok class is now `Client`. We also implemented a standardised logging module, improved naming conventions and JWT generation to make developer experience more rewarding.
0 commit comments