Ignore:
Timestamp:
Apr 29, 2006 12:38:25 PM (18 years ago)
Author:
bennylp
Message:

Fixed bug in event subscription when it is challenged/authenticated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/endpoint.c

    r421 r424  
    433433    unsigned i, count; 
    434434    pjmedia_codec_info codec_info[32]; 
     435    unsigned prio[32]; 
    435436 
    436437    PJ_LOG(3,(THIS_FILE, "Dumping PJMEDIA capabilities:")); 
     
    438439    count = PJ_ARRAY_SIZE(codec_info); 
    439440    if (pjmedia_codec_mgr_enum_codecs(&endpt->codec_mgr,  
    440                                       &count, codec_info, NULL) != PJ_SUCCESS) 
     441                                      &count, codec_info, prio) != PJ_SUCCESS) 
    441442    { 
    442443        PJ_LOG(3,(THIS_FILE, " -error: failed to enum codecs")); 
     
    467468 
    468469        PJ_LOG(3,(THIS_FILE,  
    469                   "   %s codec #%2d: pt=%d (%.*s @%dKHz/%d, %sbps, ptime=%d ms, vad=%d, cng=%d)",  
     470                  "   %s codec #%2d: pt=%d (%.*s @%dKHz/%d, %sbps, %dms%s%s%s%s%s)", 
    470471                  type, i, codec_info[i].pt, 
    471472                  (int)codec_info[i].encoding_name.slen, 
     
    475476                  good_number(bps, param.avg_bps),  
    476477                  param.ptime, 
    477                   param.vad, 
    478                   param.cng)); 
     478                  (param.vad ? " vad" : ""), 
     479                  (param.cng ? " cng" : ""), 
     480                  (param.concl ? " plc" : ""), 
     481                  (param.penh ? " penh" : ""), 
     482                  (prio[i]==PJMEDIA_CODEC_PRIO_DISABLED?" disabled":""))); 
    479483    } 
    480484#endif 
Note: See TracChangeset for help on using the changeset viewer.