Changeset 4182 for pjproject


Ignore:
Timestamp:
Jun 27, 2012 7:12:23 AM (12 years ago)
Author:
ming
Message:

Re #1524: Added call to pjmedia_transport_simulate_lost() for async media transport creation

File:
1 edited

Legend:

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

    r4163 r4182  
    11071107    if (status != PJ_SUCCESS) 
    11081108        goto on_return; 
     1109 
     1110    pjmedia_transport_simulate_lost(call_med->tp, PJMEDIA_DIR_ENCODING, 
     1111                                    pjsua_var.media_cfg.tx_drop_pct); 
     1112 
     1113    pjmedia_transport_simulate_lost(call_med->tp, PJMEDIA_DIR_DECODING, 
     1114                                    pjsua_var.media_cfg.rx_drop_pct); 
    11091115 
    11101116    if (call_med->tp_st == PJSUA_MED_TP_CREATING) 
Note: See TracChangeset for help on using the changeset viewer.