Package com.vonage.client.video
Class Rtmp
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.video.Rtmp
- All Implemented Interfaces:
Jsonable
Represents an RTMP stream in a video session.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Rtmp.Builder
builder()
Entrypoint for creating an instance of this class.getId()
The status of the RTMP stream.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
Rtmp
protected Rtmp() -
Rtmp
-
-
Method Details
-
getId
- Returns:
- A unique identifier for the stream.
-
getStreamName
- Returns:
- The stream name, such as the YouTube Live stream name or the Facebook stream key.
-
getServerUrl
- Returns:
- The RTMP server URL.
-
getStatus
The status of the RTMP stream. Poll frequently to check status updates.- Returns:
- The status as an enum.
-
builder
Entrypoint for creating an instance of this class.- Returns:
- A new Builder instance.
-