title: How to fix incorrect timestamp calculations? [OpenRtspClient]
body: <p>My <code>RTSP Source</code>'s  <code>RTCP</code> <code>SR</code> are not reliable for some of the calculated timestamps of <code>H.264</code> streams frequently resulting in large negative jumps.</p>
  
  <p>Here is an example from the debug log. See how it jumps from 101006.6130 to -4193861.6830 and continues that way.</p>
  
  <pre><code>101619 : 5cd3c38 Sample 63682 bytes time 100605.6130 to 100605.6131 latency 1264447034.4738
  101715 : 5cd3c38 Sample 74194 bytes time 100706.6130 to 100706.6131 latency 1264447039.4738
  101815 : 5cd3c38 Sample 72484 bytes time 100804.6130 to 100804.6131 latency 1264447038.4738
  101923 : 5cd3c38 Sample 95679 bytes time 100906.6130 to 100906.6131 latency 1264447031.4738
  102023 : 5cd3c38 Sample 93004 bytes time 101006.6130 to 101006.6131 latency 1264447031.4738
  102134 : 5cd3c38 Sample 91388 bytes time -4193861.6830 to -4193861.6829 latency 1260152052.1778
  102222 : 5cd3c38 Sample 90912 bytes time -4193738.1730 to -4193738.1729 latency 1260152088.6878
  102328 : 5cd3c38 Sample 105902 bytes time -4193636.1730 to -4193636.1729 latency 1260152083.6878
  102430 : 5cd3c38 Sample 106334 bytes time -4193537.1730 to -4193537.1729 latency 1260152081.6878
  102520 : 5cd3c38 Sample 107120 bytes time -4193437.1730 to -4193437.1729 latency 1260152090.6878
  </code></pre>
  
  <p>So, my question is:</p>
  
  <blockquote>
    <p>How can I solve this problem using <code>Live555</code> media lib? Should I
    ignore <code>RTCP</code> info or what is the recommended solution and how can I
    apply in <code>Live555</code>?</p>
  </blockquote>