public static class PayloadType.Audio extends PayloadType
PayloadType.AudioINVALID_PT, MAX_FIXED_PT, NODENAME| Constructor and Description |
|---|
Audio()
Empty constructor.
|
Audio(int id,
java.lang.String name)
Constructor with Id and name
|
Audio(int id,
java.lang.String name,
int rate)
Constructor with all the attributes of an Audio payload type
|
Audio(int id,
java.lang.String name,
int channels,
int rate)
Constructor with all the attributes of an Audio payload type
|
Audio(PayloadType.Audio pt)
Copy constructor
|
Audio(PayloadType pt)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getClockRate()
Get the sampling clockRate for a payload type
|
int |
hashCode() |
void |
setClockRate(int rate)
Set tha sampling clockRate for a playload type.
|
getChannels, getChildAttributes, getElementName, getId, getName, isNull, setChannels, setId, setName, toXMLpublic Audio(int id,
java.lang.String name,
int channels,
int rate)
id - The identifiername - The name assigned to this payload typechannels - The number of channelsrate - The clock ratepublic Audio(int id,
java.lang.String name,
int rate)
id - The identifiername - The name assigned to this payload typerate - The clock ratepublic Audio()
public Audio(int id,
java.lang.String name)
id - the Id for the payload typename - the name of the payload typepublic Audio(PayloadType pt)
pt - the other payload typepublic Audio(PayloadType.Audio pt)
pt - the other payload typepublic int getClockRate()
public void setClockRate(int rate)
rate - The sampling clockRatepublic int hashCode()
hashCode in class PayloadTypepublic boolean equals(java.lang.Object obj)
equals in class PayloadType