Enum Class RtmpStatus

java.lang.Object
java.lang.Enum<RtmpStatus>
com.vonage.client.video.RtmpStatus
All Implemented Interfaces:
Serializable, Comparable<RtmpStatus>, java.lang.constant.Constable

public enum RtmpStatus extends Enum<RtmpStatus>
Represents the status of an RTMP stream.
See Also:
  • Enum Constant Details

    • CONNECTING

      public static final RtmpStatus 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

      public static final RtmpStatus LIVE
      The Vonage video platform has successfully connected to the remote RTMP server, and the media is streaming.
    • OFFLINE

      public static final RtmpStatus 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

      public static final RtmpStatus ERROR
      There is an error in the Vonage video platform.
  • Method Details

    • values

      public static RtmpStatus[] 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

      public static RtmpStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<RtmpStatus>
    • fromString

      public static RtmpStatus fromString(String value)