Changeset 5942
- Timestamp:
- Mar 8, 2019 2:53:51 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/simpleua.c
r5747 r5942 386 386 PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 387 387 388 #if PJMEDIA_HAS_VIDEO && PJMEDIA_HAS_VID_TOOLBOX_CODEC 389 status = pjmedia_codec_vid_toolbox_init(NULL, &cp.factory); 390 PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 391 #endif 392 388 393 # if defined(PJMEDIA_HAS_OPENH264_CODEC) && PJMEDIA_HAS_OPENH264_CODEC != 0 389 394 status = pjmedia_codec_openh264_vid_init(NULL, &cp.factory); … … 399 404 #endif /* PJMEDIA_HAS_VIDEO */ 400 405 406 /* Create event manager */ 407 status = pjmedia_event_mgr_create(pool, 0, NULL); 408 PJ_ASSERT_RETURN(status == PJ_SUCCESS, 1); 409 401 410 /* 402 411 * Create media transport used to send/receive RTP/RTCP socket. … … 593 602 pjmedia_transport_close(g_med_transport[i]); 594 603 } 604 605 /* Destroy event manager */ 606 pjmedia_event_mgr_destroy(NULL); 595 607 596 608 /* Deinit pjmedia endpoint */
Note: See TracChangeset
for help on using the changeset viewer.