Ignore:
Timestamp:
May 17, 2008 2:54:18 PM (12 years ago)
Author:
nanang
Message:

More on ticket #535: updated files using and related to math.h

File:
1 edited

Legend:

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

    r1945 r1961  
    501501            pjmedia_jbuf_get_state(stream->jb, &jb_state); 
    502502             
    503             i = jb_state.size * stream->codec_param.info.frm_ptime; 
     503            i = jb_state.avg_delay; 
    504504            pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session,  
    505505                                        PJMEDIA_RTCP_XR_INFO_JB_NOM, 
    506506                                        i); 
    507507 
    508             i = jb_state.max_size* stream->codec_param.info.frm_ptime; 
     508            i = jb_state.max_delay; 
    509509            pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session,  
    510510                                        PJMEDIA_RTCP_XR_INFO_JB_MAX, 
     
    16741674        pjmedia_jbuf_get_state(stream->jb, &jb_state); 
    16751675             
    1676         i = jb_state.size * stream->codec_param.info.frm_ptime; 
     1676        i = jb_state.avg_delay; 
    16771677        pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session,  
    16781678                                    PJMEDIA_RTCP_XR_INFO_JB_NOM, 
    16791679                                    i); 
    16801680 
    1681         i = jb_state.max_size* stream->codec_param.info.frm_ptime; 
     1681        i = jb_state.max_delay; 
    16821682        pjmedia_rtcp_xr_update_info(&stream->rtcp.xr_session,  
    16831683                                    PJMEDIA_RTCP_XR_INFO_JB_MAX, 
Note: See TracChangeset for help on using the changeset viewer.