Ignore:
Timestamp:
May 10, 2007 8:49:08 PM (18 years ago)
Author:
bennylp
Message:

Fixed crash when incoming call is received while application is starting

File:
1 edited

Legend:

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

    r1242 r1262  
    689689    pjsua_call *call = &pjsua_var.calls[call_id]; 
    690690    pj_status_t status; 
     691 
     692    /* Return error if media transport has not been created yet 
     693     * (e.g. application is starting) 
     694     */ 
     695    if (call->med_tp == NULL) { 
     696        return PJ_EBUSY; 
     697    } 
    691698 
    692699    /* Get media socket info */ 
Note: See TracChangeset for help on using the changeset viewer.