Package com.vonage.client.video
Class StreamComposition
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.video.StreamComposition
- All Implemented Interfaces:
Jsonable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected UUIDprotected Longprotected Booleanprotected Booleanprotected UUIDprotected StreamCompositionLayoutprotected Integerprotected Resolutionprotected Stringprotected StreamModeprotected List<VideoStream> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
Modifier and TypeMethodDescriptionVonage video application ID (as used to create the client).The time at which this composition was started or created.The time at which this composition was started or created, in milliseconds since the Unix epoch.getId()Unique ID of the composition.protected StreamCompositionLayoutDescribes how the streams in this composition are displayed.The maximum bitrate for the stream in bits per second (if one was set).The video resolution of the composition.The ID of the video session associated with this composition.The stream mode to used for selecting streams to be included in this composition:StreamMode.AUTOorStreamMode.MANUAL.Returns the streams associated with this composition.hasAudio()Whether the archive has an audio track (true) or not (false).hasVideo()Whether the composition has a video track (true) or not (false).Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Field Details
-
id
-
applicationId
-
sessionId
-
streamMode
-
resolution
-
layout
-
hasVideo
-
hasAudio
-
createdAt
-
streams
-
maxBitrate
-
-
Constructor Details
-
StreamComposition
protected StreamComposition() -
StreamComposition
-
-
Method Details
-
getId
Unique ID of the composition.- Returns:
- The composition ID.
-
getApplicationId
Vonage video application ID (as used to create the client).- Returns:
- The application ID.
-
getSessionId
The ID of the video session associated with this composition.- Returns:
- The session ID.
-
getResolution
The video resolution of the composition.- Returns:
- The resolution as an enum.
-
hasVideo
Whether the composition has a video track (true) or not (false).- Returns:
- Whether this composition has video.
-
hasAudio
Whether the archive has an audio track (true) or not (false).- Returns:
- Whether this composition has sound.
-
getStreamMode
The stream mode to used for selecting streams to be included in this composition:StreamMode.AUTOorStreamMode.MANUAL.- Returns:
- The StreamMode.
-
getStreams
Returns the streams associated with this composition. This is only set when the status is "started" and the stream mode is "manual".- Returns:
- The details for each video stream, or
nullif not applicable.
-
getLayout
Describes how the streams in this composition are displayed.- Returns:
- Layout information for the stream compositions.
-
getMaxBitrate
The maximum bitrate for the stream in bits per second (if one was set).- Returns:
- The maximum bits per second as an integer, or
nullif unset.
-
getCreatedAtMillis
The time at which this composition was started or created, in milliseconds since the Unix epoch.- Returns:
- The created time as a long, or
nullif absent / not applicable.
-
getCreatedAt
The time at which this composition was started or created.- Returns:
- The creation time, or
nullif absent / not applicable.
-