Changeset 5905


Ignore:
Timestamp:
Nov 5, 2018 9:36:47 AM (8 months ago)
Author:
ming
Message:

Re #2147 (misc): Fixed assertion in streamutil sample for not creating event manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/streamutil.c

    r5747 r5905  
    640640    } 
    641641 
     642    /* Create event manager */ 
     643    status = pjmedia_event_mgr_create(pool, 0, NULL); 
     644    if (status != PJ_SUCCESS) 
     645        goto on_exit; 
     646 
    642647    /* Create stream based on program arguments */ 
    643648    status = create_stream(pool, med_endpt, codec_info, dir, local_port,  
     
    838843        pjmedia_port_destroy( rec_file_port ); 
    839844 
     845    /* Destroy event manager */ 
     846    pjmedia_event_mgr_destroy(NULL); 
    840847 
    841848    /* Release application pool */ 
Note: See TracChangeset for help on using the changeset viewer.