org.mobicents.sdp
Class RTPVideoFormat

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

public class RTPVideoFormat
extends VideoFormat
implements RTPFormat

Author:
kulikov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.sdp.VideoFormat
CINEPAK, frameRate, H261, H261_RTP, H263, H263_1998_RTP, H263_RTP, INDEO32, INDEO41, INDEO50, IRGB, JPEG, JPEG_RTP, maxDataLength, MJPEGA, MJPEGB, MJPG, MPEG, MPEG_RTP, RGB, RLE, RPZA, SMC, YUV
 
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
RTPVideoFormat(int payloadType, String encdingName)
           
RTPVideoFormat(int payloadType, String encdingName, float fr)
           
RTPVideoFormat(int payloadType, String encoding, int maxDataLength, float frameRate)
           
 
Method Summary
 Collection<javax.sdp.Attribute> encode()
          Encodes format objects to SDP attributes.
 int getPayloadType()
          Defines the RTP payload type.
static RTPVideoFormat parseFormat(String rtpmap)
           
 
Methods inherited from class org.mobicents.sdp.VideoFormat
equals, getFrameRate, getMaxDataLength, matches, toString
 
Methods inherited from class org.mobicents.sdp.Format
getEncoding, hashCode, isSameEncoding, isSameEncoding
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RTPVideoFormat

public RTPVideoFormat(int payloadType,
                      String encdingName)

RTPVideoFormat

public RTPVideoFormat(int payloadType,
                      String encdingName,
                      float fr)

RTPVideoFormat

public RTPVideoFormat(int payloadType,
                      String encoding,
                      int maxDataLength,
                      float frameRate)
Method Detail

getPayloadType

public int getPayloadType()
Description copied from interface: RTPFormat
Defines the RTP payload type.

Specified by:
getPayloadType in interface RTPFormat
Returns:
and integer payload type number.

parseFormat

public static RTPVideoFormat parseFormat(String rtpmap)

encode

public Collection<javax.sdp.Attribute> encode()
Description copied from interface: RTPFormat
Encodes format objects to SDP attributes.

Specified by:
encode in interface RTPFormat
Returns:
a collection of attributes which represents this format object


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