OpenTok Java SDK reference

The OpenTok Java SDK includes the following classes:

Class Description
Archive
Archive.OutputMode
Archive.Status
Archive.StreamMode
ArchiveLayout
ArchiveLayout.Type
ArchiveList
ArchiveMode
ArchiveProperties
ArchiveProperties.Builder When streams are selected automatically ( StreamMode.AUTO , the default), all streams in the session can be included in the archive. When streams are selected manually ( StreamMode.MANUAL ), you specify streams to be included based on calls to the OpenTok.addArchiveStream(String, String, boolean, bo
AudioConnector
AudioConnectorProperties
AudioConnectorProperties.Builder
Broadcast
Broadcast.StreamMode
BroadcastLayout
BroadcastProperties
BroadcastProperties.Builder
Caption
CaptionProperties
CaptionProperties.Builder
CreatedSession
Hls
Hls.Builder
InvalidArgumentException
MediaMode
MuteAllProperties
MuteAllProperties.Builder
OpenTok To create a new OpenTok object, call the OpenTok constructor with your OpenTok API key and the API secret for your Vonage Video API account . Do not publicly share your API secret. You will use it with the OpenTok constructor (only on your web server) to create OpenTok sessions.
OpenTok.Builder If you do not need to set these advanced settings, you can use the OpenTok() constructor to build the OpenTok object.
OpenTokException
Render
RenderProperties
RenderProperties.Builder
RenderProperties.Properties
RenderProperties.Resolution
RenderStatus
RequestException
Resolution
Role
Rtmp
RtmpProperties
RtmpProperties.Builder
ScreenShareLayoutType
Session
SessionProperties
SessionProperties.Builder With the mediaMode property set to MediaMode.RELAYED , the session will attempt to transmit streams directly between clients. If clients cannot connect due to firewall restrictions, the session uses the OpenTok TURN server to relay audio-video streams.
SignalProperties
SignalProperties.Builder
Sip Do not call the new() constructor. To start a SIP call, call the OpenTok.dial() method.
SipProperties
SipProperties.Builder Note: You no longer need to append the ​"X-"​ prefix to the beginning of custom headers. This restriction, which applied previously, has been removed.
Stream
StreamList
StreamListProperties
StreamListProperties.Builder
StreamProperties
StreamProperties.Builder
TokenOptions
TokenOptions.Builder