public class RTPVideoFormat extends VideoFormat implements RTPFormat
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, YUVANY, encoding, FALSE, FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY, FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR, NOT_SPECIFIED, TRUE| Constructor and Description |
|---|
RTPVideoFormat(int payloadType,
String encdingName) |
RTPVideoFormat(int payloadType,
String encdingName,
float fr) |
RTPVideoFormat(int payloadType,
String encoding,
int maxDataLength,
float frameRate) |
| Modifier and Type | Method and Description |
|---|---|
Collection<javax.sdp.Attribute> |
encode()
Encodes format objects to SDP attributes.
|
int |
getPayloadType()
Defines the RTP payload type.
|
static RTPVideoFormat |
parseFormat(String rtpmap) |
equals, getFrameRate, getMaxDataLength, matches, toStringgetEncoding, hashCode, isSameEncoding, isSameEncodingpublic RTPVideoFormat(int payloadType,
String encdingName)
public RTPVideoFormat(int payloadType,
String encdingName,
float fr)
public RTPVideoFormat(int payloadType,
String encoding,
int maxDataLength,
float frameRate)
public int getPayloadType()
RTPFormatgetPayloadType in interface RTPFormatpublic static RTPVideoFormat parseFormat(String rtpmap)
public Collection<javax.sdp.Attribute> encode()
RTPFormatCopyright © 2016 TeleStax, Inc.. All Rights Reserved.