Skip to content

Commit ba1ac57

Browse files
committed
Docs edits
1 parent 5c6dd79 commit ba1ac57

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

opentok/archives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Archive(object):
3434
The time at which the archive was created, in milliseconds since the UNIX epoch.
3535
3636
:ivar duration:
37-
The duration of the archive, in milliseconds.
37+
The duration of the archive, in seconds.
3838
3939
:ivar has_audio:
4040
Boolean value set to true when the archive contains an audio track,

opentok/opentok.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ class Roles(Enum):
5353
publisher = u("publisher")
5454
"""A publisher can publish streams, subscribe to streams, and signal"""
5555
moderator = u("moderator")
56-
"""In addition to the privileges granted to a publisher, in clients using the OpenTok.js 2.2
57-
library, a moderator can call the `forceUnpublish()` and `forceDisconnect()` method of the
58-
Session object.
56+
"""In addition to the privileges granted to a publisher, a moderator can perform
57+
moderation functions, such as forcing clients to disconnect, to stop publishing streams,
58+
or to mute audio in published streams. See the
59+
`Moderation developer guide <https://tokbox.com/developer/guides/moderation/>`_
5960
"""
6061

6162

@@ -1135,7 +1136,7 @@ def start_broadcast(self, session_id, options):
11351136
Integer 'maxDuration' optional: The maximum duration for the broadcast, in seconds.
11361137
The broadcast will automatically stop when the maximum duration is reached. You can
11371138
set the maximum duration to a value from 60 (60 seconds) to 36000 (10 hours). The
1138-
default maximum duration is 2 hours (7200 seconds)
1139+
default maximum duration is 4 hours (14,400 seconds)
11391140
11401141
Dictionary 'outputs': This object defines the types of broadcast streams you want to
11411142
start (both HLS and RTMP). You can include HLS, RTMP, or both as broadcast streams.

0 commit comments

Comments
 (0)