Ignore:
Timestamp:
May 14, 2006 6:23:34 PM (18 years ago)
Author:
bennylp
Message:

Fixed more bugs with multiple frame handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/conference.c

    r426 r442  
    10961096     * transmit NULL frame.  
    10971097     */ 
     1098    /* note: 
     1099     *  the "cport->sources==0" checking will cause discontinuous 
     1100     *  transmission for RTP stream. 
     1101     */ 
    10981102    if (cport->tx_setting == PJMEDIA_PORT_MUTE || cport->sources==0) { 
    10991103 
     
    11251129    buf = (pj_int16_t*)cport->mix_buf; 
    11261130 
    1127     if (cport->tx_adj_level != NORMAL_LEVEL) { 
     1131    if (cport->tx_adj_level != NORMAL_LEVEL && cport->sources) { 
    11281132 
    11291133        unsigned adj_level = cport->tx_adj_level; 
     
    11691173     * indication of the signal level of the port. 
    11701174     */ 
    1171     if (cport->need_tx_level) { 
     1175    if (cport->need_tx_level && cport->sources) { 
    11721176        pj_uint32_t level; 
    11731177 
Note: See TracChangeset for help on using the changeset viewer.