Package com.vonage.client.video
Enum Class RtmpStatus
- All Implemented Interfaces:
Serializable,Comparable<RtmpStatus>,java.lang.constant.Constable
Represents the status of an RTMP stream.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Vonage video platform is in the process of connecting to the remote RTMP server.There is an error in the Vonage video platform.The Vonage video platform has successfully connected to the remote RTMP server, and the media is streaming.The Vonage video platform could not connect to the remote RTMP server. -
Method Summary
Modifier and TypeMethodDescriptionstatic RtmpStatusfromString(String value) toString()static RtmpStatusReturns the enum constant of this class with the specified name.static RtmpStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONNECTING
The Vonage video platform is in the process of connecting to the remote RTMP server. This is the initial state, and it is the status if you start when there are no streams published in the session. It changes to LIVE when there are streams (or it changes to one of the other states). -
LIVE
The Vonage video platform has successfully connected to the remote RTMP server, and the media is streaming. -
OFFLINE
The Vonage video platform could not connect to the remote RTMP server. This is due to an unreachable server or an error in the RTMP handshake. Causes include rejected RTMP connections, non-existing RTMP applications, rejected stream names, authentication errors, etc. Check that the server is online, and that you have provided the correct server URL and stream name. -
ERROR
There is an error in the Vonage video platform.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<RtmpStatus>
-
fromString
-