Changeset 2422


Ignore:
Timestamp:
Jan 20, 2009 7:39:03 AM (12 years ago)
Author:
bennylp
Message:

Fixed ticket #696: Wrong timestamp calculation causing RTCP clock skew (thanks Guido Fischer for the fix!)

File:
1 edited

Legend:

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

    r2394 r2422  
    6363 
    6464    /* Calculate seconds fractions */ 
    65     ts.u64 %= sess->ts_freq.u64; 
     65    ts.u64 = (ts.u64 - sess->ts_base.u64) % sess->ts_freq.u64; 
    6666    pj_assert(ts.u64 < sess->ts_freq.u64); 
    6767    ts.u64 = (ts.u64 << 32) / sess->ts_freq.u64; 
Note: See TracChangeset for help on using the changeset viewer.