Skip to content

Commit 023c721

Browse files
authored
Merge pull request #158 from opentok/readme-updates
adding custom timeout information
2 parents e7dd4a6 + bc09f20 commit 023c721

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,21 @@ 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+
474+
Configuring Timeout
475+
-------
476+
Timeout is passed in the OpenTok constructor:
477+
478+
``self.timeout = timeout``
479+
480+
In order to configure timeout, first create an instance:
481+
482+
``opentok = OpenTok(...., timeout=value)``
483+
484+
And then proceed to change the value with
485+
486+
``opentok.timeout = value``
487+
473488
Samples
474489
-------
475490

0 commit comments

Comments
 (0)