Ignore:
Timestamp:
Mar 4, 2006 8:43:52 PM (18 years ago)
Author:
bennylp
Message:

Added Speex for narrowband, wideband, and ultra-wideband!!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_settings.c

    r277 r278  
    9191    puts("  --auto-loop         Automatically loop incoming RTP to outgoing RTP"); 
    9292    puts("  --auto-conf         Automatically put incoming calls to conference"); 
    93     puts("  --rtp-port=N        Base port to try for RTP"); 
     93    puts("  --rtp-port=N        Base port to try for RTP"); 
     94    puts("  --add-codec=name    Specify alternate codec order"); 
    9495    puts(""); 
    9596    puts("Buddy List (can be more than one):"); 
     
    221222           OPT_AUTO_ANSWER, OPT_AUTO_HANGUP, OPT_AUTO_PLAY, OPT_AUTO_LOOP, 
    222223           OPT_AUTO_CONF, 
    223            OPT_PLAY_FILE, OPT_WB, OPT_UWB, OPT_RTP_PORT, 
     224           OPT_PLAY_FILE, OPT_WB, OPT_UWB, OPT_RTP_PORT, OPT_ADD_CODEC, 
    224225           OPT_NEXT_ACCOUNT, OPT_NEXT_CRED, OPT_MAX_CALLS, 
    225226    }; 
     
    256257        { "play-file",  1, 0, OPT_PLAY_FILE}, 
    257258        { "rtp-port",   1, 0, OPT_RTP_PORT}, 
     259        { "add-codec",  1, 0, OPT_ADD_CODEC}, 
    258260        { "next-account",0,0, OPT_NEXT_ACCOUNT}, 
    259261        { "next-cred",  0, 0, OPT_NEXT_CRED}, 
     
    490492                return -1; 
    491493            } 
     494 
     495        case OPT_ADD_CODEC: 
     496            pjsua.codec_arg[pjsua.codec_cnt++] = pj_str(optarg); 
     497            break; 
    492498 
    493499        case OPT_AUTO_ANSWER: 
Note: See TracChangeset for help on using the changeset viewer.