org.mobicents.sdp
Class RTPVideoFormat
java.lang.Object
org.mobicents.sdp.Format
org.mobicents.sdp.VideoFormat
org.mobicents.sdp.RTPVideoFormat
- All Implemented Interfaces:
- Serializable, Cloneable, RTPFormat
public class RTPVideoFormat
- extends VideoFormat
- implements RTPFormat
- Author:
- kulikov
- See Also:
- Serialized Form
| 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 |
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)
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.