|
MjSip Stack v1.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.zoolu.sip.call.SdpTools
Class SdpTools collects some static methods for managing SDP materials.
| Constructor Summary | |
SdpTools()
|
|
| Method Summary | |
static SessionDescriptor |
sdpAttirbuteSelection(SessionDescriptor sdp,
java.lang.String a_name)
Costructs a new SessionDescriptor from a given SessionDescriptor with olny the first specified media attribute. |
static SessionDescriptor |
sdpMediaProduct(SessionDescriptor sdp,
java.util.Vector m_descs)
Costructs a new SessionDescriptor from a given SessionDescriptor with olny media types and attribute values specified by a MediaDescriptor Vector. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SdpTools()
| Method Detail |
public static SessionDescriptor sdpMediaProduct(SessionDescriptor sdp,
java.util.Vector m_descs)
If no attribute is specified for a particular media, all present attributes are kept.
If no attribute is present for a selected media, the media is kept (regardless any sepcified attributes).
sdp - the given SessionDescriptorm_descs - Vector of MediaDescriptor with the selecting media types and attributes
public static SessionDescriptor sdpAttirbuteSelection(SessionDescriptor sdp,
java.lang.String a_name)
If no attribute is present for a media, the media is dropped.
sdp - the given SessionDescriptora_name - the attribute name
|
MjSip Stack v1.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||