Changeset 4823 for pjproject


Ignore:
Timestamp:
Apr 22, 2014 9:21:58 AM (10 years ago)
Author:
nanang
Message:

Misc (re #1751): Set media transport state back to NULL after media transport creation fails, and also remember the error code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r4820 r4823  
    13801380 
    13811381        if (status != PJ_SUCCESS) { 
     1382            call_med->tp_ready = status; 
     1383            pjsua_set_media_tp_state(call_med, PJSUA_MED_TP_NULL); 
    13821384            PJ_PERROR(1,(THIS_FILE, status, "Error creating media transport")); 
    13831385            return status; 
Note: See TracChangeset for help on using the changeset viewer.