Skip to content

Commit 2ff0953

Browse files
authored
Merge pull request #209 from jeffswartz/docs-edits-oct-2021
Docs corrections
2 parents 0a80d11 + c271b2d commit 2ff0953

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/main/java/com/opentok/Archive.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public long getCreatedAt() {
120120
}
121121

122122
/**
123-
* The duration of the archive, in milliseconds.
123+
* The duration of the archive, in seconds.
124124
*/
125125
public int getDuration() {
126126
return duration;

src/main/java/com/opentok/Role.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ public enum Role {
2121
*/
2222
PUBLISHER,
2323
/**
24-
* In addition to the privileges granted to a publisher, in clients using the OpenTok.js
25-
* library, a moderator can call the <code>forceUnpublish()</code> and
26-
* <code>forceDisconnect()</code> method of the Session object.
24+
* In addition to the privileges granted to a publisher, a moderator can perform
25+
* moderation functions, such as forcing clients to disconnect, to stop publishing streams,
26+
* or to mute audio in published streams. See the
27+
* <a href="https://tokbox.com/developer/guides/moderation/">Moderation developer guide</a>.
2728
*/
2829
MODERATOR;
2930

src/main/java/com/opentok/TokenOptions.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,10 @@ public static class Builder {
9191
* streams, and signal. (This is the default value if you do not specify a role.)</li>
9292
*
9393
* <li> <code>MODERATOR</code> &mdash; In addition to the privileges granted to a
94-
* publisher, in clients using the OpenTok.js library, a moderator can call the
95-
* <code>forceUnpublish()</code> and <code>forceDisconnect()</code> method of the
96-
* Session object.</li>
94+
* publisher, a moderator can perform moderation functions, such as forcing clients to
95+
* disconnect, to stop publishing streams, or to mute audio in published streams. See the
96+
* <a href="https://tokbox.com/developer/guides/moderation/">Moderation developer guide</a>.
97+
* </li>
9798
* </ul>
9899
*/
99100
public Builder role(Role role) {

0 commit comments

Comments
 (0)