public abstract class JingleDescription extends Object implements ExtensionElement
Modifier and Type | Class and Description |
---|---|
static class |
JingleDescription.Audio
Jingle audio description
|
Constructor and Description |
---|
JingleDescription()
Creates a content description..
|
Modifier and Type | Method and Description |
---|---|
void |
addAudioPayloadTypes(List<PayloadType> pts)
Adds a list of payloads to the packet.
|
void |
addPayloadType(PayloadType pt)
Adds a audio payload type to the packet.
|
List<PayloadType> |
getAudioPayloadTypesList()
Return the list of Payload types contained in the description.
|
String |
getElementName()
Returns the XML element name of the element.
|
abstract String |
getNamespace()
Return the namespace.
|
Iterator<PayloadType> |
getPayloadTypes()
Returns an Iterator for the audio payloads in the packet.
|
int |
getPayloadTypesCount()
Returns a count of the audio payloads in the Jingle packet.
|
List<PayloadType> |
getPayloadTypesList()
Returns a list for the audio payloads in the packet.
|
String |
toXML()
Convert a Jingle description to XML.
|
public static final String NODENAME
public JingleDescription()
public String getElementName()
getElementName
in interface NamedElement
public abstract String getNamespace()
getNamespace
in interface ExtensionElement
public void addPayloadType(PayloadType pt)
pt
- the audio payload type to add.public void addAudioPayloadTypes(List<PayloadType> pts)
pts
- the payloads to add.public Iterator<PayloadType> getPayloadTypes()
public List<PayloadType> getPayloadTypesList()
public List<PayloadType> getAudioPayloadTypesList()
public int getPayloadTypesCount()