Changeset 2996 for pjproject


Ignore:
Timestamp:
Nov 9, 2009 8:11:34 AM (15 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.