Package com.opentok
Class ArchiveProperties
java.lang.Object
com.opentok.ArchiveProperties
Defines values for the
properties parameter of the
OpenTok.startArchive(String sessionId, ArchiveProperties properties) method.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to create an ArchiveProperties object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the multiArchiveTag, if present.booleanhasAudio()Whether the archive has an audio track (true) or not (false).booleanhasVideo()Whether the archive has a video track (true) or not (false).layout()Returns the custom layout of the archive (composed archives only).Gets the maximum bitrate (bps) for the archive if specified.name()Returns the name of the archive, which you can use to identify the archive.The output mode of the archive.Gets the quantization parameter for the archive if specified.Returns the resolution of the archive.The stream mode of the archive.toMap()Returns the archive properties as a Map.
-
Method Details
-
name
Returns the name of the archive, which you can use to identify the archive. -
resolution
Returns the resolution of the archive. -
getMultiArchiveTag
Returns the multiArchiveTag, if present. -
hasVideo
public boolean hasVideo()Whether the archive has a video track (true) or not (false). -
hasAudio
public boolean hasAudio()Whether the archive has an audio track (true) or not (false). -
maxBitrate
Gets the maximum bitrate (bps) for the archive if specified.- Returns:
- The maximum bitrate (in bits per second) for the archiving, or
nullif unspecified (the default). - Since:
- 4.15.0
-
quantizationParameter
Gets the quantization parameter for the archive if specified.- Returns:
- The quantization parameter, or
nullif unspecified (the default). - Since:
- 4.16.0
-
outputMode
The output mode of the archive. -
streamMode
The stream mode of the archive. -
layout
Returns the custom layout of the archive (composed archives only). -
toMap
Returns the archive properties as a Map.
-