|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Rtp.PayloadType>
org.jnetpcap.protocol.voip.Rtp.PayloadType
public static enum Rtp.PayloadType
Constant payload types that have been defined for type field.
| Enum Constant Summary | |
|---|---|
CN
13 -. |
|
DVI4_16K
6 -. |
|
DVI4_8K
5 -. |
|
G711
0 - PCMU is specified in CCITT/ITU-T recommendation G.711 |
|
G721
2 -. |
|
G722
9 -. |
|
G723
4 -. |
|
G728
15 -. |
|
GSM
3 -. |
|
L16_1CH
11 -. |
|
L16_2CH
10 -. |
|
LPC
7 -. |
|
MPA
14 -. |
|
PCMA
8 -. |
|
QCELP
12 -. |
|
RESERVED1
1 -. |
|
RESERVED2
16. |
|
| Method Summary | |
|---|---|
static Rtp.PayloadType |
valueOf(int type)
Looks up the payload type as integer and returns a constant. |
static Rtp.PayloadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Rtp.PayloadType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Rtp.PayloadType CN
public static final Rtp.PayloadType DVI4_16K
public static final Rtp.PayloadType DVI4_8K
public static final Rtp.PayloadType G711
public static final Rtp.PayloadType G721
public static final Rtp.PayloadType G722
public static final Rtp.PayloadType G723
public static final Rtp.PayloadType G728
public static final Rtp.PayloadType GSM
public static final Rtp.PayloadType L16_1CH
public static final Rtp.PayloadType L16_2CH
public static final Rtp.PayloadType LPC
public static final Rtp.PayloadType MPA
public static final Rtp.PayloadType PCMA
public static final Rtp.PayloadType QCELP
public static final Rtp.PayloadType RESERVED1
public static final Rtp.PayloadType RESERVED2
| Method Detail |
|---|
public static Rtp.PayloadType[] values()
for (Rtp.PayloadType c : Rtp.PayloadType.values()) System.out.println(c);
public static Rtp.PayloadType 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 name
java.lang.NullPointerException - if the argument is nullpublic static Rtp.PayloadType valueOf(int type)
type - value of the payload field
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||