org.mobicents.sdp
Class AVProfile

java.lang.Object
  extended by org.mobicents.sdp.AVProfile

public abstract class AVProfile
extends Object

Defines relation between audio/video format and RTP payload number as specified by Audio/Video Profile spec. http://www.iana.org/assignments/rtp-parameters

Author:
Oleg Kulikov, amit bhayani

Field Summary
static String AUDIO
           
static RTPAudioFormat DTMF
           
static RTPAudioFormat DVI4_16K
           
static RTPAudioFormat DVI4_8K
           
static RTPAudioFormat G722
           
static RTPAudioFormat G723
           
static RTPAudioFormat G729
           
static RTPAudioFormat GSM
           
static RTPVideoFormat H261
           
static RTPAudioFormat L16_MONO
           
static RTPAudioFormat L16_STEREO
           
static RTPAudioFormat LPC
           
static RTPAudioFormat PCMA
           
static RTPAudioFormat PCMU
           
static String VIDEO
           
 
Constructor Summary
AVProfile()
           
 
Method Summary
static RTPAudioFormat getAudioFormat(int pt)
          Gets the audio format related to payload type.
static RTPVideoFormat getVideoFormat(int pt)
          Gets the video format related to payload type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUDIO

public static final String AUDIO
See Also:
Constant Field Values

VIDEO

public static final String VIDEO
See Also:
Constant Field Values

PCMU

public static final RTPAudioFormat PCMU

GSM

public static final RTPAudioFormat GSM

G723

public static final RTPAudioFormat G723

DVI4_8K

public static final RTPAudioFormat DVI4_8K

DVI4_16K

public static final RTPAudioFormat DVI4_16K

LPC

public static final RTPAudioFormat LPC

PCMA

public static final RTPAudioFormat PCMA

G722

public static final RTPAudioFormat G722

L16_STEREO

public static final RTPAudioFormat L16_STEREO

L16_MONO

public static final RTPAudioFormat L16_MONO

G729

public static final RTPAudioFormat G729

DTMF

public static final RTPAudioFormat DTMF

H261

public static final RTPVideoFormat H261
Constructor Detail

AVProfile

public AVProfile()
Method Detail

getAudioFormat

public static RTPAudioFormat getAudioFormat(int pt)
Gets the audio format related to payload type.

Parameters:
pt - the payload type
Returns:
AudioFormat object.

getVideoFormat

public static RTPVideoFormat getVideoFormat(int pt)
Gets the video format related to payload type.

Parameters:
pt - the payload type
Returns:
VideoFormat object.


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