org.mobicents.media.server.impl.rtp.sdp
Class AVProfile

java.lang.Object
  extended by org.mobicents.media.server.impl.rtp.sdp.AVProfile

public abstract class AVProfile
extends java.lang.Object

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 RTPAudioFormat DTMF
           
static RTPAudioFormat G729
           
static RTPAudioFormat GSM
           
static RTPVideoFormat H261
           
static RTPAudioFormat L16_MONO
           
static RTPAudioFormat L16_STEREO
           
static RTPAudioFormat PCMA
           
static RTPAudioFormat PCMU
           
static RTPAudioFormat SPEEX
           
static java.lang.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 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 RTPAudioFormat PCMU

PCMA

public static final RTPAudioFormat PCMA

SPEEX

public static final RTPAudioFormat SPEEX

G729

public static final RTPAudioFormat G729

GSM

public static final RTPAudioFormat GSM

L16_STEREO

public static final RTPAudioFormat L16_STEREO

L16_MONO

public static final RTPAudioFormat L16_MONO

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 © 2009. All Rights Reserved.