Ignore:
Timestamp:
Jul 15, 2010 10:18:59 AM (14 years ago)
Author:
nanang
Message:

Re #1103:

  • Updated RTCP jitter statistics calculation (in receiving direction) to use "interarrival jitter" (was using "difference D") of RFC 3550.
  • Added APIs to reset RTCP statistics.
File:
1 edited

Legend:

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

    r3224 r3237  
    24852485} 
    24862486 
     2487 
     2488/* 
     2489 * Reset the stream statistics in the middle of a stream session. 
     2490 */ 
     2491PJ_DEF(pj_status_t) pjmedia_stream_reset_stat(pjmedia_stream *stream) 
     2492{ 
     2493    PJ_ASSERT_RETURN(stream, PJ_EINVAL); 
     2494 
     2495    pjmedia_rtcp_init_stat(&stream->rtcp.stat); 
     2496 
     2497    return PJ_SUCCESS; 
     2498} 
     2499 
     2500 
    24872501#if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) 
    24882502/* 
Note: See TracChangeset for help on using the changeset viewer.