Skip to content

Commit 93eddb9

Browse files
committed
Revert "adding custom timeout information"
This reverts commit 801a371.
1 parent 6f3ba89 commit 93eddb9

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OpenTok Python SDK
44

55
.. image:: https://travis-ci.org/opentok/Opentok-Python-SDK.svg
66
:target: https://travis-ci.org/opentok/Opentok-Python-SDK
7-
.. image:: https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg
7+
.. image:: https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg
88
:target: CODE_OF_CONDUCT.md
99

1010
.. image:: https://assets.tokbox.com/img/vonage/Vonage_VideoAPI_black.svg
@@ -457,7 +457,7 @@ You can dynamically change the layout type of a live streaming broadcast.
457457
.. code:: python
458458
459459
# Valid values to 'layout_type' are: 'custom', 'horizontalPresentation',
460-
# 'pip' and 'verticalPresentation'
460+
# 'pip' and 'verticalPresentation'
461461
opentok.set_broadcast_layout('BROADCASTID', 'horizontalPresentation')
462462
463463
# if you specify a 'custom' layout type, set the stylesheet parameter:
@@ -470,26 +470,29 @@ You can dynamically change the layout type of a live streaming broadcast.
470470
For more information about OpenTok live streaming broadcasts, see the
471471
`Broadcast developer guide <https://tokbox.com/developer/guides/broadcast/>`_.
472472

473-
Configuring / Customizing Timeout
473+
<<<<<<< HEAD
474+
Configuring Timeout
474475
-------
475476
Timeout is passed in the OpenTok constructor:
476477

477-
```python
478+
```
478479
self.timeout = timeout
479480
```
480481

481482
In order to configure timeout, first create an instance:
482483

483-
```python
484-
opentok = OpenTok(...., timeout=value)
485484
```
485+
opentok = OpenTok(...., timeout=value)
486+
``
486487

487488
And then proceed to change the value with
488489

489-
```python
490+
```
490491
opentok.timeout = value
491492
```
492493

494+
=======
495+
>>>>>>> parent of 801a371... adding custom timeout information
493496
Samples
494497
-------
495498

0 commit comments

Comments
 (0)