Changeset 177 for pjproject/trunk/pjsip/src
- Timestamp:
- Feb 10, 2006 3:57:32 PM (19 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsua
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua/main.c
r169 r177 145 145 146 146 pjsip_endpt_dump(pjsua.endpt, 1); 147 pjmedia_endpt_dump(pjsua.med_endpt); 147 148 pjsip_ua_dump(); 149 148 150 149 151 /* Dump all invite sessions: */ -
pjproject/trunk/pjsip/src/pjsua/pjsua.h
r169 r177 25 25 /* Include all PJMEDIA headers. */ 26 26 #include <pjmedia.h> 27 28 /* Include all PJMEDIA-CODEC headers. */ 29 #include <pjmedia-codec.h> 27 30 28 31 /* Include all PJSIP-UA headers */ -
pjproject/trunk/pjsip/src/pjsua/pjsua_core.c
r175 r177 467 467 } 468 468 469 /* Init pjmedia-codecs: */ 470 471 status = pjmedia_codec_init(pjsua.med_endpt); 472 if (status != PJ_SUCCESS) { 473 pj_caching_pool_destroy(&pjsua.cp); 474 pjsua_perror("Media codec initialization has returned error", status); 475 return status; 476 } 477 478 469 479 /* Done. */ 470 480 return PJ_SUCCESS; … … 664 674 pjsua.quit_flag = 1; 665 675 676 677 /* Shutdown pjmedia-codec: */ 678 679 pjmedia_codec_deinit(); 680 681 666 682 /* Destroy sound framework: 667 683 * (this should be done in pjmedia_shutdown())
Note: See TracChangeset
for help on using the changeset viewer.