org.mobicents.mscontrol.sdp
Class VideoFormat

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

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
           
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.mscontrol.sdp.Format
ANY, encoding, FALSE, FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY, FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR, frameRate, NOT_SPECIFIED, RAW_RTP, TRUE
 
Constructor Summary
VideoFormat(String encoding)
           
VideoFormat(String encoding, float frameRate, int clockRate)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object format)
           
 int getClockRate()
           
 int getMaxDataLength()
           
 int hashCode()
           
 boolean matches(Format format)
           
 Format relax()
           
 String toString()
           
 
Methods inherited from class org.mobicents.mscontrol.sdp.Format
getEncoding, getFrameRate, isSameEncoding, isSameEncoding, matches, setFrameRate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

maxDataLength

protected int maxDataLength

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,
                   int clockRate)
Method Detail

getClockRate

public int getClockRate()

getMaxDataLength

public int getMaxDataLength()

clone

public Object clone()
Overrides:
clone in class Format

toString

public String toString()
Overrides:
toString in class Format

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Format

matches

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

relax

public Format relax()
Overrides:
relax in class Format


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