net.sf.fmj.media.datasink.rtp
Class RTPBonusFormatsMgr

java.lang.Object
  extended by net.sf.fmj.media.datasink.rtp.RTPBonusFormatsMgr

public class RTPBonusFormatsMgr
extends java.lang.Object

Manager for nonstandard ("bonus") RTP formats supported by FMJ. No way to add extra formats globally and for all sessions, or to commit, with JMF. So we will just call this any time we initialize a new RTPManager instance. Actually, under JMF, any new formats added to a specific RTPManager instance are added to a global static list, so they take effect for future RTPManager instances. FMJ does not implement this, they have to be added to every instance. See http://archives.java.sun.com/cgi-bin/wa?A2=ind0107&L=jmf-interest&P=33617

Author:
Ken Larson

Field Summary
static int ALAW_RTP_INDEX
           
static int FIRST_BONUS_FORMAT
           
static int ILBC_RTP_INDEX
           
static int SPEEX_RTP_INDEX
           
 
Constructor Summary
RTPBonusFormatsMgr()
           
 
Method Summary
static void addBonusFormats(RTPManager mgr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST_BONUS_FORMAT

public static final int FIRST_BONUS_FORMAT
See Also:
Constant Field Values

ALAW_RTP_INDEX

public static final int ALAW_RTP_INDEX
See Also:
Constant Field Values

SPEEX_RTP_INDEX

public static final int SPEEX_RTP_INDEX
See Also:
Constant Field Values

ILBC_RTP_INDEX

public static final int ILBC_RTP_INDEX
See Also:
Constant Field Values
Constructor Detail

RTPBonusFormatsMgr

public RTPBonusFormatsMgr()
Method Detail

addBonusFormats

public static void addBonusFormats(RTPManager mgr)