public enum RTPLevelRelayType extends java.lang.Enum<RTPLevelRelayType>
Enum Constant and Description |
---|
MIXER
The type of RTP-level relay which performs content mixing on the received
media.
|
TRANSLATOR
The type of RTP-level relay which does not perform content mixing on the
received media and rather forwards the received RTP and RTCP packets.
|
Modifier and Type | Method and Description |
---|---|
static RTPLevelRelayType |
parseRTPLevelRelayType(java.lang.String s)
Parses a String into an RTPLevelRelayType enum value.
|
java.lang.String |
toString() |
static RTPLevelRelayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RTPLevelRelayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RTPLevelRelayType MIXER
public static final RTPLevelRelayType TRANSLATOR
public static RTPLevelRelayType[] values()
for (RTPLevelRelayType c : RTPLevelRelayType.values()) System.out.println(c);
public static RTPLevelRelayType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RTPLevelRelayType parseRTPLevelRelayType(java.lang.String s)
toString()
; otherwise, the method will throw an exception.s
- the String to parse into an RTPLevelRelayType
enum valuejava.lang.IllegalArgumentException
- if none of the
RTPLevelRelayType enum values produce the specified s
when toString() is invoked on themjava.lang.NullPointerException
- if s is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<RTPLevelRelayType>
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.