Changeset 5841
- Timestamp:
- Jul 26, 2018 2:50:06 AM (6 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsua-lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_aud.c
r5834 r5841 237 237 /* To suppress warning about unused var when all codecs are disabled */ 238 238 PJ_UNUSED_ARG(codec_id); 239 240 PJ_LOG(4,(THIS_FILE, "Initializing audio subsystem..")); 241 242 if (!pjmedia_event_mgr_instance()) { 243 status = pjmedia_event_mgr_create(pjsua_var.pool, 0, NULL); 244 if (status != PJ_SUCCESS) { 245 pjsua_perror(THIS_FILE, "Error creating PJMEDIA event manager", 246 status); 247 goto on_error; 248 } 249 } 239 250 240 251 /* -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c
r5788 r5841 62 62 } 63 63 64 status = pjmedia_event_mgr_create(pjsua_var.pool, 0, NULL); 65 if (status != PJ_SUCCESS) { 66 PJ_PERROR(1,(THIS_FILE, status, 67 "Error creating PJMEDIA event manager")); 68 goto on_error; 64 if (!pjmedia_event_mgr_instance()) { 65 status = pjmedia_event_mgr_create(pjsua_var.pool, 0, NULL); 66 if (status != PJ_SUCCESS) { 67 PJ_PERROR(1,(THIS_FILE, status, 68 "Error creating PJMEDIA event manager")); 69 goto on_error; 70 } 69 71 } 70 72
Note: See TracChangeset
for help on using the changeset viewer.