Changeset 4980


Ignore:
Timestamp:
Feb 11, 2015 2:13:04 AM (6 years ago)
Author:
ming
Message:

Fixed #1813: Problem with media reinitialisation when using ICE

File:
1 edited

Legend:

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

    r4948 r4980  
    13611361     */ 
    13621362    if (call_med->tp == NULL) { 
     1363        /* Initializations. If media transport creation completes immediately,  
     1364         * we don't need to call the callbacks. 
     1365         */ 
     1366        call_med->med_init_cb = NULL; 
     1367        call_med->med_create_cb = NULL; 
     1368 
    13631369#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 
    13641370        /* While in initial call, set default video devices */ 
     
    13931399            return status; 
    13941400        } 
    1395  
    1396         /* Media transport creation completed immediately, so  
    1397          * we don't need to call the callback. 
    1398          */ 
    1399         call_med->med_init_cb = NULL; 
    14001401 
    14011402    } else if (call_med->tp_st == PJSUA_MED_TP_DISABLED) { 
Note: See TracChangeset for help on using the changeset viewer.