org.mobicents.mscontrol.sdp
Class Format
java.lang.Object
org.mobicents.mscontrol.sdp.Format
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- AudioFormat, VideoFormat
public class Format
- extends Object
- implements Cloneable, Serializable
Standard JMF class -- see this class in the JMF Javadoc.
Coding complete.
- Author:
- Ken Larson
- See Also:
- Serialized Form
NOT_SPECIFIED
public static final int NOT_SPECIFIED
- See Also:
- Constant Field Values
TRUE
public static final int TRUE
- See Also:
- Constant Field Values
FALSE
public static final int FALSE
- See Also:
- Constant Field Values
encoding
protected String encoding
ANY
public static final Format ANY
RAW_RTP
public static final Format RAW_RTP
frameRate
protected int frameRate
FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY
public static final int FORMAT_HASHMAP_DEFAULT_INITIAL_CAPACITY
- See Also:
- Constant Field Values
FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR
public static final float FORMAT_HASHMAP_DEFAULT_LOAD_FACTOR
- See Also:
- Constant Field Values
Format
public Format(String encoding)
getEncoding
public String getEncoding()
getFrameRate
public int getFrameRate()
setFrameRate
public void setFrameRate(int frameRate)
equals
public boolean equals(Object format)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
matches
public boolean matches(String encoding)
matches
public boolean matches(Format format)
isSameEncoding
public boolean isSameEncoding(Format other)
isSameEncoding
public boolean isSameEncoding(String encoding)
relax
public Format relax()
clone
public Object clone()
- Overrides:
clone in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 TeleStax, Inc.. All Rights Reserved.