org.mobicents.sdp
Class VideoFormat

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

public class VideoFormat
extends Format

Standard JMF class -- see this class in the JMF Javadoc. Coding complete. Frame rate is in frames per second.

Author:
Ken Larson
See Also:
Serialized Form

Field Summary
static String CINEPAK
           
protected  float frameRate
           
static String H261
           
static String H261_RTP
           
static String H263
           
static String H263_1998_RTP
           
static String H263_RTP
           
static String INDEO32
           
static String INDEO41
           
static String INDEO50
           
static String IRGB
           
static String JPEG
           
static String JPEG_RTP
           
protected  int maxDataLength
           
static String MJPEGA
           
static String MJPEGB
           
static String MJPG
           
static String MPEG
           
static String MPEG_RTP
           
static String RGB
           
static String RLE
           
static String RPZA
           
static String SMC
           
static String 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
VideoFormat(String encoding)
           
VideoFormat(String encoding, float frameRate)
           
VideoFormat(String encoding, int maxDataLength, float frameRate)
           
 
Method Summary
 boolean equals(Object format)
           
 float getFrameRate()
           
 int getMaxDataLength()
           
 boolean matches(Format format)
           
 String 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
 

Field Detail

maxDataLength

protected int maxDataLength

frameRate

protected float frameRate

CINEPAK

public static final String CINEPAK
See Also:
Constant Field Values

JPEG

public static final String JPEG
See Also:
Constant Field Values

JPEG_RTP

public static final String JPEG_RTP
See Also:
Constant Field Values

MPEG

public static final String MPEG
See Also:
Constant Field Values

MPEG_RTP

public static final String MPEG_RTP
See Also:
Constant Field Values

H261

public static final String H261
See Also:
Constant Field Values

H261_RTP

public static final String H261_RTP
See Also:
Constant Field Values

H263

public static final String H263
See Also:
Constant Field Values

H263_RTP

public static final String H263_RTP
See Also:
Constant Field Values

H263_1998_RTP

public static final String H263_1998_RTP
See Also:
Constant Field Values

RGB

public static final String RGB
See Also:
Constant Field Values

YUV

public static final String YUV
See Also:
Constant Field Values

IRGB

public static final String IRGB
See Also:
Constant Field Values

SMC

public static final String SMC
See Also:
Constant Field Values

RLE

public static final String RLE
See Also:
Constant Field Values

RPZA

public static final String RPZA
See Also:
Constant Field Values

MJPG

public static final String MJPG
See Also:
Constant Field Values

MJPEGA

public static final String MJPEGA
See Also:
Constant Field Values

MJPEGB

public static final String MJPEGB
See Also:
Constant Field Values

INDEO32

public static final String INDEO32
See Also:
Constant Field Values

INDEO41

public static final String INDEO41
See Also:
Constant Field Values

INDEO50

public static final String INDEO50
See Also:
Constant Field Values
Constructor Detail

VideoFormat

public VideoFormat(String encoding)

VideoFormat

public VideoFormat(String encoding,
                   float frameRate)

VideoFormat

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

getMaxDataLength

public int getMaxDataLength()

getFrameRate

public float getFrameRate()

toString

public String toString()
Overrides:
toString in class Format

equals

public boolean equals(Object format)
Overrides:
equals in class Format

matches

public boolean matches(Format format)
Overrides:
matches in class Format


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