Skip to content

Commit 6f3ba89

Browse files
committed
correct update
1 parent 801a371 commit 6f3ba89

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.rst

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,13 +470,25 @@ 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 Timeout
473+
Configuring / Customizing Timeout
474474
-------
475475
Timeout is passed in the OpenTok constructor:
476476

477-
```self.timeout = timeout```
477+
```python
478+
self.timeout = timeout
479+
```
478480

479-
The solution is to create an instance: opentok = OpenTok(...., timeout=value) and then the value can be changed later with opentok.timeout = value
481+
In order to configure timeout, first create an instance:
482+
483+
```python
484+
opentok = OpenTok(...., timeout=value)
485+
```
486+
487+
And then proceed to change the value with
488+
489+
```python
490+
opentok.timeout = value
491+
```
480492

481493
Samples
482494
-------

0 commit comments

Comments
 (0)