Ignore:
Timestamp:
Jul 31, 2006 3:19:36 PM (18 years ago)
Author:
bennylp
Message:
  • Added iLBC codec (experimental) with the following features:
    • configurable default decoder mode (20 or 30),
    • encoder mode follows the mode specified in SDP fmtp from the remote's SDP,
    • silence detector uses pjmedia's,
    • PLC uses iLBC's PLC,
    • perceptual enhancement (penh) is configurable via codec param, as usual.
  • iLBC mode is configurable in pjsua with --ilbc-mode option.
  • Added packet lost simulation in pjmedia's UDP transport and in pjsua (with --rx-drop-pct and --tx-drop-pct options).
  • Increase default buffer count in DirectSound? to 32 frames to make it more resilient to CPU disruption.
  • Specify and parse fmtp mode in SDP for codecs that need it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/build/Makefile

    r631 r637  
    1212#       "#define PJMEDIA_HAS_SPEEX_CODEC 0" in pj/config_site.h. 
    1313# 
    14 export CODEC_OBJS = $(GSM_OBJS) $(SPEEX_OBJS) 
     14export CODEC_OBJS = $(GSM_OBJS) $(SPEEX_OBJS) $(ILBC_OBJS) 
    1515 
    1616 
     
    107107SPEEX_CFLAGS := -DHAVE_CONFIG_H=1 -I../src/pjmedia-codec 
    108108 
     109ILBC_OBJS :=    ilbc.o \ 
     110                ilbc/FrameClassify.o ilbc/LPCdecode.o ilbc/LPCencode.o \ 
     111                ilbc/StateConstructW.o ilbc/StateSearchW.o ilbc/anaFilter.o \ 
     112                ilbc/constants.o ilbc/createCB.o ilbc/doCPLC.o \ 
     113                ilbc/enhancer.o ilbc/filter.o ilbc/gainquant.o \ 
     114                ilbc/getCBvec.o ilbc/helpfun.o ilbc/hpInput.o \ 
     115                ilbc/hpOutput.o ilbc/iCBConstruct.o ilbc/iCBSearch.o \ 
     116                ilbc/iLBC_decode.o ilbc/iLBC_encode.o ilbc/lsf.o \ 
     117                ilbc/packing.o ilbc/syntFilter.o 
     118ILBC_CFLAGS := 
     119 
    109120export PJMEDIA_CODEC_SRCDIR = ../src/pjmedia-codec 
    110121export PJMEDIA_CODEC_OBJS += l16.o \ 
    111122                        $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 
    112123                        $(CODEC_OBJS) 
    113 export PJMEDIA_CODEC_CFLAGS += $(_CFLAGS) $(GSM_CFLAGS) $(SPEEX_CFLAGS) 
     124export PJMEDIA_CODEC_CFLAGS += $(_CFLAGS) $(GSM_CFLAGS) $(SPEEX_CFLAGS) \ 
     125                        $(ILBC_CFLAGS) 
    114126 
    115127 
Note: See TracChangeset for help on using the changeset viewer.