Changeset 4439


Ignore:
Timestamp:
Mar 13, 2013 4:47:19 AM (7 years ago)
Author:
bennylp
Message:

Fixed #1642: Media transport may not be cleaned up if call is hung up quickly

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r4358 r4439  
    44904490            pjsua_msg_data_init(&msg_data); 
    44914491            TEST_MULTIPART(&msg_data); 
    4492             pjsua_call_make_call( current_acc, &tmp, &call_opt, NULL, &msg_data, NULL); 
     4492            pjsua_call_make_call( current_acc, &tmp, &call_opt, NULL, 
     4493                                  &msg_data, &current_call); 
    44934494            break; 
    44944495 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r4421 r4439  
    531531 
    532532    if (call_id != -1) { 
     533        pjsua_media_channel_deinit(call_id); 
    533534        reset_call(call_id); 
    534         pjsua_media_channel_deinit(call_id); 
    535535    } 
    536536 
     
    791791 
    792792    if (call_id != -1) { 
     793        pjsua_media_channel_deinit(call_id); 
    793794        reset_call(call_id); 
    794         pjsua_media_channel_deinit(call_id); 
    795795    } 
    796796 
Note: See TracChangeset for help on using the changeset viewer.