org.mobicents.sdp
Class RTPFormatParser

java.lang.Object
  extended by org.mobicents.sdp.Format
      extended by org.mobicents.sdp.RTPFormatParser
All Implemented Interfaces:
Serializable, Cloneable

public abstract class RTPFormatParser
extends Format

Author:
Oleg Kulikov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.sdp.Format
ANY, encoding, FALSE, FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY, FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR, NOT_SPECIFIED, TRUE
 
Constructor Summary
RTPFormatParser(String encodingName)
          Creates a new instance of RTPFormat
 
Method Summary
abstract  Collection<javax.sdp.Attribute> encode()
           
static HashMap<Integer,Format> getFormats(javax.sdp.MediaDescription md)
           
static HashMap<Integer,Format> getFormats(javax.sdp.SessionDescription sdp, String mediaType)
           
 int getPayloadType()
           
 String toSdp()
           
 
Methods inherited from class org.mobicents.sdp.Format
equals, getEncoding, hashCode, isSameEncoding, isSameEncoding, matches, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RTPFormatParser

public RTPFormatParser(String encodingName)
Creates a new instance of RTPFormat

Method Detail

getPayloadType

public int getPayloadType()

getFormats

public static HashMap<Integer,Format> getFormats(javax.sdp.SessionDescription sdp,
                                                 String mediaType)
                                          throws javax.sdp.SdpParseException,
                                                 javax.sdp.SdpException
Throws:
javax.sdp.SdpParseException
javax.sdp.SdpException

getFormats

public static HashMap<Integer,Format> getFormats(javax.sdp.MediaDescription md)
                                          throws javax.sdp.SdpParseException,
                                                 javax.sdp.SdpException
Throws:
javax.sdp.SdpParseException
javax.sdp.SdpException

toSdp

public String toSdp()

encode

public abstract Collection<javax.sdp.Attribute> encode()


Copyright © 2013 TeleStax, Inc.. All Rights Reserved.