org.mobicents.mscontrol.sdp
Class AVProfile
java.lang.Object
org.mobicents.mscontrol.sdp.AVProfile
- All Implemented Interfaces:
- Cloneable
public class AVProfile
- extends Object
- implements Cloneable
Defines relation between audio/video format and RTP payload number as
specified by Audio/Video Profile spec.
- Author:
- Oleg Kulikov
AUDIO
public static final String AUDIO
- See Also:
- Constant Field Values
VIDEO
public static final String VIDEO
- See Also:
- Constant Field Values
AMR
public static final AudioFormat AMR
PCMU
public static final AudioFormat PCMU
PCMA
public static final AudioFormat PCMA
SPEEX
public static final AudioFormat SPEEX
G729
public static final AudioFormat G729
GSM
public static final AudioFormat GSM
MPEG4_GENERIC
public static final AudioFormat MPEG4_GENERIC
L16_STEREO
public static final AudioFormat L16_STEREO
L16_MONO
public static final AudioFormat L16_MONO
DTMF
public static final AudioFormat DTMF
H261
public static final VideoFormat H261
MP4V
public static final VideoFormat MP4V
H263
public static final VideoFormat H263
AVProfile
public AVProfile()
setProfile
public void setProfile(Hashtable<Integer,Format> profile)
getProfile
public Hashtable<Integer,Format> getProfile()
getAudioFormats
public HashMap<Integer,AudioFormat> getAudioFormats()
getVideoFormats
public HashMap<Integer,VideoFormat> getVideoFormats()
getAudioFormat
public AudioFormat getAudioFormat(int pt)
- Gets the audio format related to payload type.
- Parameters:
pt - the payload type
- Returns:
- AudioFormat object.
getVideoFormat
public 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 Object
Copyright © 2013 TeleStax, Inc.. All Rights Reserved.