|
5 | 5 |
|
6 | 6 | <img src="https://assets.tokbox.com/img/vonage/Vonage_VideoAPI_black.svg" height="48px" alt="Tokbox is now known as Vonage" />
|
7 | 7 |
|
8 |
| -The OpenTok Java SDK lets you generate |
9 |
| -[sessions](https://tokbox.com/developer/guides/create-session/) and |
10 |
| -[tokens](https://tokbox.com/developer/guides/create-token/) for |
11 |
| -[OpenTok](http://www.tokbox.com/) applications that run on the JVM. It also includes methods for |
12 |
| -working with OpenTok [archives](https://tokbox.com/developer/guides/archiving), |
13 |
| -working with OpenTok [live streaming |
14 |
| -broadcasts](https://tokbox.com/developer/guides/broadcast/live-streaming/), |
15 |
| -working with OpenTok [SIP interconnect](https://tokbox.com/developer/guides/sip), |
16 |
| -[signaling OpenTok sessions from the server](https://tokbox.com/developer/guides/signaling/), |
17 |
| -and [disconnecting clients from sessions](https://tokbox.com/developer/guides/moderation/rest/). |
| 8 | +The OpenTok Java SDK provides methods for: |
| 9 | + |
| 10 | +* Generating [sessions](https://tokbox.com/developer/guides/create-session/) and |
| 11 | + [tokens](https://tokbox.com/developer/guides/create-token/) for |
| 12 | + [OpenTok](https://www.vonage.com/communications-apis/video/) applications |
| 13 | +* Working with OpenTok [archives](https://tokbox.com/developer/guides/archiving) |
| 14 | +* Working with OpenTok [live streaming broadcasts](https://tokbox.com/developer/guides/broadcast/live-streaming/) |
| 15 | +* Working with OpenTok [SIP interconnect](https://tokbox.com/developer/guides/sip) |
| 16 | +* [Sending signals to clients connected to a session](https://tokbox.com/developer/guides/signaling/) |
| 17 | +* [Disconnecting clients from sessions](https://tokbox.com/developer/guides/moderation/rest/) |
| 18 | +* [Forcing clients in a session to disconnect or mute published audio](https://tokbox.com/developer/guides/moderation/) |
18 | 19 |
|
19 | 20 | ## Installation
|
20 | 21 |
|
@@ -366,6 +367,19 @@ The `connectionId` parameter is used to specify the connection ID of a client co
|
366 | 367 |
|
367 | 368 | For more information on the force disconnect functionality and exception codes, please see the [REST API documentation](https://tokbox.com/developer/rest/#forceDisconnect).
|
368 | 369 |
|
| 370 | +### Forcing clients in a session to mute published audio |
| 371 | + |
| 372 | +You can force the publisher of a specific stream to stop publishing audio using the |
| 373 | +`Opentok.forceMuteStream(String sessionId, String streamId)`method. |
| 374 | + |
| 375 | +You can force the publisher of all streams in a session (except for an optional list of streams) |
| 376 | +to stop publishing audio using the `Opentok.forceMuteAll(String sessionId, MuteAllProperties properties)` |
| 377 | +method. You can then disable the mute state of the session by calling the |
| 378 | +`Opentok.disableForceMute(String sessionId)` method. |
| 379 | + |
| 380 | +For more information, see |
| 381 | +[Muting the audio of streams in a session](https://tokbox.com/developer/guides/moderation/#force_mute). |
| 382 | + |
369 | 383 | ### Signaling
|
370 | 384 |
|
371 | 385 | You can send signals to all the connections in a session or to a specific connection:
|
|
0 commit comments