# Constants
AutoArchived is used to have the session archived automatically.
Azure specifies the Azure storage type.
BestFit is a tiled layout, which scales according to the number of videos.
Composed means the archive is a single MP4 file composed of all streams.
Custom let you can use CSS to define your own custom layout for composed archive videos.
HDLandscape (1280x720-pixel) archives have a 16:9 aspect ratio.
HDLandscape (1280x720-pixel) archives have a 16:9 aspect ratio.
HDPortrait (720x1280-pixel) archives have a 9:16 aspect ratio.
HorizontalPresentation is a layout with one large stream on the top edge of the output, and several smaller streams along the bottom edge of the output.
Individual means the archive is a ZIP container file with multiple individual media files for each stream, and a JSON metadata file for video synchronization.
ManualArchived is used to have the session archived manually, you can archive the session by calling the REST /archive POST method.
Moderator can call the forceUnpublish() and forceDisconnect() method of the Session object in clients using the OpenTok.js library, and have the privileges granted to a publisher.
PIP is a picture-in-picture layout, where a small stream is visible over a full-size stream.
ProjectActive is used to set the project API key to ACTIVE.
ProjectSuspended is used to set the project API key to SUSPENDED, you will not be able to use the project API key (and any OpenTok sessions created with it).
Publisher can publish streams, subscribe to streams, and signal.
Relayed if you prefer clients to attempt to send audio-video streams directly to other clients.
Routed if you want to use the OpenTok Media Router.
S3 specifies the Amazon S3 storage type.
SDLandscape (640x480-pixel) archives have a 4:3 aspect ratio, the default.
SDLandscape (640x480-pixel) archives have a 4:3 aspect ratio, the default.
SDPortrait (480x640-pixel) archives have a 3:4 aspect ratio.
Subscriber can only subscribe to streams.
VerticalPresentation is a layout with one large stream on the right edge of the output, and several smaller streams along the left edge of the output.
# Structs
AmazonS3Config defines the Amazon S3 config for setting archiving upload target.
Archive defines the response returned from API.
ArchiveList defines the response returned from API.
ArchiveListOptions defines the query parameters to filter the list of archives.
ArchiveOptions defines the options for starting an archive recording.
AzureConfig defines the Microsoft Azure config for setting archiving upload target.
Broadcast defines the response returned from API.
BroadcastList defines the response returned from API.
BroadcastListOptions defines the query parameters to filter the list of broadcasts.
BroadcastOptions defines the options for live streaming broadcast.
BroadcastOutputOptions defines the types of broadcast streams you want to start (both HLS and RTMP).
BroadcastURLs defines the details on the HLS and RTMP broadcast streams.
DialOptions defines the options for SIP call.
HLSConfig defines the config of HLS.
Layout defines the layout type for the archive.
MuteOptions defines the options for mute published audio.
OpenTok stores the API key and secret for use in making API call.
Project defines the response returned from API.
ResponseError encloses an error with code and message.
RTMPConfig defines the config of RTMP.
Session defines the response returned from API.
SessionIDInfo defines the information decoded from the session ID.
SessionOptions defines the options for creating a session.
SignalData defines the type and data of signal.
SIP defines the information of SIP call.
SIPAuth defines the authentication information for SIP call.
SIPCall defines the response returned from API.
StorageOptions defines the options for setting archiving upload target.
Stream defines the response returned from API.
StreamClass defines the layout classes to assign to a stream.
StreamClassOptions defines the options for setting the layout classes for the stream.
StreamList defines the response returned from API.
TokenOptions defines the options for generating token.
# Interfaces
HTTPClient is an interface to allow custom clients and timeouts.
# Type aliases
ArchiveMode is the alias of string type.
ArchiveOutputMode is the alias of string type.
LayoutType is the alias of string type.
MediaMode is the alias of string type.
ProjectStatus is the alias of string type.
Resolution is the alias of string type.
Role is the alias of string type.
SIPHeaders is the alias of map[string]string type.
StorageType is the alias of string type.