Changeset 1884


Ignore:
Timestamp:
Mar 21, 2008 9:15:50 AM (16 years ago)
Author:
bennylp
Message:

More ticket #61: (after rolling back previously buggy patch) Fixed bug in pjsua-lib with SRTP. If call is hold and resumed, SRTP transports will use itself as the underlying transport

File:
1 edited

Legend:

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

    r1883 r1884  
    170170     * reference. 
    171171     */ 
    172     pjsua_var.mconf_cfg.channel_count = pjsua_var.media_cfg.channel_count; 
     172    pjsua_var.mconf_cfg.channel_count = 1; 
    173173    pjsua_var.mconf_cfg.bits_per_sample = 16; 
    174174    pjsua_var.mconf_cfg.samples_per_frame = pjsua_var.media_cfg.clock_rate *  
     
    18351835        status = pjmedia_snd_port_create(pjsua_var.pool, capture_dev, 
    18361836                                         playback_dev,  
    1837                                          clock_rates[i],  
    1838                                          pjsua_var.media_cfg.channel_count, 
    1839                                          clock_rates[i]/fps *  
    1840                                          pjsua_var.media_cfg.channel_count, 
     1837                                         clock_rates[i], 1, 
     1838                                         clock_rates[i]/fps, 
    18411839                                         16, 0, &pjsua_var.snd_port); 
    18421840 
Note: See TracChangeset for help on using the changeset viewer.