Changeset 444


Ignore:
Timestamp:
May 14, 2006 8:57:20 PM (18 years ago)
Author:
bennylp
Message:

Fixed bug in siprtp because of recent changes in pjsip_session_info_from_sdp()

Location:
pjproject/trunk/pjsip-apps/src/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/debug.c

    r438 r444  
    2828 *  #include "playfile.c" 
    2929 */ 
    30 #include "sndinfo.c" 
     30#include "siprtp.c" 
    3131 
  • pjproject/trunk/pjsip-apps/src/samples/siprtp.c

    r438 r444  
    4949"   --log-file=FILE         Write log to file FILE\n" 
    5050"\n" 
     51/* Don't support this anymore, because codec is properly examined in 
     52   pjmedia_session_info_from_sdp() function. 
     53 
    5154" Codec Options:\n" 
    5255"   --a-pt=PT               Set audio payload type to PT (default=0)\n" 
     
    5558"   --a-bitrate=BPS         Set audio codec bitrate to BPS (default=64000bps)\n" 
    5659"   --a-ptime=MS            Set audio frame time to MS msec (default=20ms)\n" 
     60*/ 
    5761; 
    5862 
     
    396400 
    397401 
     402    /* Add G711 codec */ 
     403    pjmedia_codec_g711_init(app.med_endpt); 
     404 
    398405    /* Determine address to bind socket */ 
    399406    pj_memset(&addr, 0, sizeof(addr)); 
     
    827834        { "app-log-level",  1, 0, OPT_APP_LOG_LEVEL }, 
    828835        { "log-file",       1, 0, OPT_LOG_FILE }, 
     836 
     837        /* Don't support this anymore, see comments in USAGE above. 
    829838        { "a-pt",           1, 0, OPT_A_PT }, 
    830839        { "a-name",         1, 0, OPT_A_NAME }, 
     
    832841        { "a-bitrate",      1, 0, OPT_A_BITRATE }, 
    833842        { "a-ptime",        1, 0, OPT_A_PTIME }, 
     843        */ 
    834844 
    835845        { NULL, 0, 0, 0 }, 
Note: See TracChangeset for help on using the changeset viewer.