Changeset 2996


Ignore:
Timestamp:
11/09/09 02:11:34 (9 years ago)
Author:
nanang
Message:

Misc fix (#951): Fixed pjsua bug RTP timestamp & sequence resetted after hold-resume (thanks Nikolay Popok for the report).

File:
1 edited

Legend:

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

    r2966 r2996  
    13931393        pjmedia_rtcp_stat stat; 
    13941394 
    1395         if (pjmedia_session_get_stream_stat(call->session, 0, &stat)  
    1396             == PJ_SUCCESS) 
     1395        if ((call->media_dir & PJMEDIA_DIR_ENCODING) && 
     1396            (pjmedia_session_get_stream_stat(call->session, 0, &stat)  
     1397             == PJ_SUCCESS)) 
    13971398        { 
    13981399            /* Save RTP timestamp & sequence, so when media session is  
Note: See TracChangeset for help on using the changeset viewer.