Package com.opentok
Class Render
java.lang.Object
com.opentok.Render
Represents an Experience Composer element response.
-
Method Summary
Modifier and TypeMethodDescriptionlong
The time the Experience Composer started, expressed in milliseconds since the Unix epoch.getId()
The Render ID.The Project ID.The reason field is only available when the status is either "stopped" or "failed".The resolution of the Experience Composer (either "640x480", "1280x720", "480x640", or "720x1280").The Session ID.The status of the Experience Composer.The ID of the composed stream being published.long
This timestamp matches the createdAt timestamp when callingOpenTok.getRender(String)
.getUrl()
A publicly reachable URL controlled by the customer and capable of generating the content to be rendered without user intervention.
-
Method Details
-
getId
The Render ID. -
getSessionId
The Session ID. -
getProjectId
The Project ID. -
getCreatedAt
public long getCreatedAt()The time the Experience Composer started, expressed in milliseconds since the Unix epoch. -
getUpdatedAt
public long getUpdatedAt()This timestamp matches the createdAt timestamp when callingOpenTok.getRender(String)
. -
getUrl
A publicly reachable URL controlled by the customer and capable of generating the content to be rendered without user intervention. -
getResolution
The resolution of the Experience Composer (either "640x480", "1280x720", "480x640", or "720x1280"). -
getStatus
The status of the Experience Composer. -
getStreamId
The ID of the composed stream being published. The streamId is not available when the status is "starting" and may not be available when the status is "failed". -
getReason
The reason field is only available when the status is either "stopped" or "failed". If the status is stopped, the reason field will contain either "Max Duration Exceeded" or "Stop Requested." If the status is failed, the reason will contain a more specific error message.
-