- Timestamp:
- Apr 29, 2006 12:38:25 PM (19 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/config.c
r423 r424 22 22 23 23 static const char *id = "config.c"; 24 const char *PJ_VERSION = "0.5.5 ";24 const char *PJ_VERSION = "0.5.5.1"; 25 25 26 26 PJ_DEF(void) pj_dump_config(void) -
pjproject/trunk/pjmedia/src/pjmedia/endpoint.c
r421 r424 433 433 unsigned i, count; 434 434 pjmedia_codec_info codec_info[32]; 435 unsigned prio[32]; 435 436 436 437 PJ_LOG(3,(THIS_FILE, "Dumping PJMEDIA capabilities:")); … … 438 439 count = PJ_ARRAY_SIZE(codec_info); 439 440 if (pjmedia_codec_mgr_enum_codecs(&endpt->codec_mgr, 440 &count, codec_info, NULL) != PJ_SUCCESS)441 &count, codec_info, prio) != PJ_SUCCESS) 441 442 { 442 443 PJ_LOG(3,(THIS_FILE, " -error: failed to enum codecs")); … … 467 468 468 469 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)", 470 471 type, i, codec_info[i].pt, 471 472 (int)codec_info[i].encoding_name.slen, … … 475 476 good_number(bps, param.avg_bps), 476 477 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":""))); 479 483 } 480 484 #endif -
pjproject/trunk/pjsip/src/pjsip-simple/evsub.c
r376 r424 1356 1356 sub->pending_sub = tsx; 1357 1357 1358 } else if (tsx == sub->pending_sub &&1359 tsx->state >= PJSIP_TSX_STATE_COMPLETED)1360 {1361 sub->pending_sub = NULL;1362 1358 } 1363 1359 … … 1468 1464 return; 1469 1465 } 1466 1467 /* Clear pending subscription */ 1468 if (tsx == sub->pending_sub) 1469 sub->pending_sub = NULL; 1470 1470 1471 1471 /* Handle authentication. */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r422 r424 684 684 685 685 686 /* If user specifies the exact codec to be used, then disable all codecs687 * and only enable those specific codecs.686 /* Enable those codecs that user put with "--add-codec", and move 687 * the priority to top 688 688 */ 689 if (pjsua.codec_cnt != 0) {690 codec_id = pj_str("");691 pjmedia_codec_mgr_set_codec_priority(692 pjmedia_endpt_get_codec_mgr(pjsua.med_endpt),693 &codec_id,694 PJMEDIA_CODEC_PRIO_DISABLED);695 }696 697 698 699 689 for (i=0; i<pjsua.codec_cnt; ++i) { 700 690 pjmedia_codec_mgr_set_codec_priority( -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r284 r424 324 324 } 325 325 326 pjsip_auth_clt_set_credentials( &dlg->auth_sess, pjsua.cred_count, 327 pjsua.cred_info); 328 326 329 status = pjsip_pres_create_uac( dlg, &pres_callback, 327 330 &pjsua.buddies[index].sub);
Note: See TracChangeset
for help on using the changeset viewer.