Package com.vonage.client.video
Class RenderRequest
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.video.RenderRequest
- All Implemented Interfaces:
Jsonable
Defines the parameters for starting an Experience Composer session.
- Since:
- 8.6.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for defining the parameters ofRenderRequest.static final classPublisher initial configuration properties for the composed output stream. -
Method Summary
Modifier and TypeMethodDescriptionstatic RenderRequest.Builderbuilder()Entry point for constructing an instance of this class.Maximum time allowed for the Experience Composer, in seconds.The initial configuration of Publisher properties for the composed output stream.Render resolution of the Experience Composer.Unique identifier of the Vonage Video session.getToken()JSON Web Token with the appropriate roles for this request.getUrl()A publicly reachable URL controlled by the customer and capable of generating the content to be rendered without user intervention.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
-
Method Details
-
getUrl
A publicly reachable URL controlled by the customer and capable of generating the content to be rendered without user intervention.- Returns:
- The URL, or
nullif unspecified.
-
getMaxDuration
Maximum time allowed for the Experience Composer, in seconds. After this time, it is stopped automatically, if it is still running. The maximum value is 36000 (10 hours), the minimum value is 60 (1 minute), and the default value is 7200 (2 hours). When the Experience Composer ends, its stream is unpublished and an event is posted to the callback URL, if configured in the Application Config.- Returns:
- The maximum duration in seconds as an Integer, or
nullif unspecified.
-
getResolution
Render resolution of the Experience Composer.- Returns:
- The render resolution as an enum, or
nullif unspecified.
-
getProperties
The initial configuration of Publisher properties for the composed output stream.- Returns:
- The publisher properties object.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder instance.
-
getSessionId
Unique identifier of the Vonage Video session.- Returns:
- The session ID as a string.
-
getToken
JSON Web Token with the appropriate roles for this request.- Returns:
- The Base64-encoded JWT as a string.
-