org.mobicents.media.server.impl.rtp.sdp
Class AVProfile
java.lang.Object
org.mobicents.media.server.impl.rtp.sdp.AVProfile
- All Implemented Interfaces:
- java.lang.Cloneable
public class AVProfile
- extends java.lang.Object
- implements java.lang.Cloneable
Defines relation between audio/video format and RTP payload number as
specified by Audio/Video Profile spec.
- Author:
- Oleg Kulikov
|
Field Summary |
static java.lang.String |
AUDIO
|
static org.mobicents.media.format.AudioFormat |
DTMF
|
static org.mobicents.media.format.AudioFormat |
G729
|
static org.mobicents.media.format.AudioFormat |
GSM
|
static org.mobicents.media.format.VideoFormat |
H261
|
static org.mobicents.media.format.VideoFormat |
H263
|
static org.mobicents.media.format.AudioFormat |
L16_MONO
|
static org.mobicents.media.format.AudioFormat |
L16_STEREO
|
static org.mobicents.media.format.VideoFormat |
MP4V
|
static org.mobicents.media.format.AudioFormat |
MPEG4_GENERIC
|
static org.mobicents.media.format.AudioFormat |
PCMA
|
static org.mobicents.media.format.AudioFormat |
PCMU
|
static org.mobicents.media.format.AudioFormat |
SPEEX
|
static java.lang.String |
VIDEO
|
|
Method Summary |
AVProfile |
clone()
|
org.mobicents.media.format.AudioFormat |
getAudioFormat(int pt)
Gets the audio format related to payload type. |
java.util.HashMap<java.lang.Integer,org.mobicents.media.format.AudioFormat> |
getAudioFormats()
|
java.util.Hashtable<java.lang.Integer,org.mobicents.media.Format> |
getProfile()
|
org.mobicents.media.format.VideoFormat |
getVideoFormat(int pt)
Gets the video format related to payload type. |
java.util.HashMap<java.lang.Integer,org.mobicents.media.format.VideoFormat> |
getVideoFormats()
|
void |
setProfile(java.util.Hashtable<java.lang.Integer,org.mobicents.media.Format> profile)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUDIO
public static final java.lang.String AUDIO
- See Also:
- Constant Field Values
VIDEO
public static final java.lang.String VIDEO
- See Also:
- Constant Field Values
PCMU
public static final org.mobicents.media.format.AudioFormat PCMU
PCMA
public static final org.mobicents.media.format.AudioFormat PCMA
SPEEX
public static final org.mobicents.media.format.AudioFormat SPEEX
G729
public static final org.mobicents.media.format.AudioFormat G729
GSM
public static final org.mobicents.media.format.AudioFormat GSM
MPEG4_GENERIC
public static final org.mobicents.media.format.AudioFormat MPEG4_GENERIC
L16_STEREO
public static final org.mobicents.media.format.AudioFormat L16_STEREO
L16_MONO
public static final org.mobicents.media.format.AudioFormat L16_MONO
DTMF
public static final org.mobicents.media.format.AudioFormat DTMF
H261
public static final org.mobicents.media.format.VideoFormat H261
MP4V
public static final org.mobicents.media.format.VideoFormat MP4V
H263
public static final org.mobicents.media.format.VideoFormat H263
AVProfile
public AVProfile()
setProfile
public void setProfile(java.util.Hashtable<java.lang.Integer,org.mobicents.media.Format> profile)
getProfile
public java.util.Hashtable<java.lang.Integer,org.mobicents.media.Format> getProfile()
getAudioFormats
public java.util.HashMap<java.lang.Integer,org.mobicents.media.format.AudioFormat> getAudioFormats()
getVideoFormats
public java.util.HashMap<java.lang.Integer,org.mobicents.media.format.VideoFormat> getVideoFormats()
getAudioFormat
public org.mobicents.media.format.AudioFormat getAudioFormat(int pt)
- Gets the audio format related to payload type.
- Parameters:
pt - the payload type
- Returns:
- AudioFormat object.
getVideoFormat
public org.mobicents.media.format.VideoFormat getVideoFormat(int pt)
- Gets the video format related to payload type.
- Parameters:
pt - the payload type
- Returns:
- VideoFormat object.
clone
public AVProfile clone()
- Overrides:
clone in class java.lang.Object
Copyright © 2010. All Rights Reserved.