Commit Graph

4 Commits

Author SHA1 Message Date
Alessandro Ros
2ca0bffa20 use native timestamps instead of time.Duration (#627)
this improves timestamp precision
2024-10-07 15:58:43 +02:00
Alessandro Ros
ce46aee084 change rtptime.Encoder signature and initialize time to a random value (#525) 2024-02-25 23:25:44 +01:00
Alessandro Ros
67d4106adc rtptime: fix time encoding on arm32 (#274) (#277) 2023-05-08 13:54:51 +02:00
Alessandro Ros
f0540b4eee fix timestamp encode error after some hours (#206)
previous formula was: uint32(a + uint32(b))
this formula overflows two times, while it should overflow once.
new formula is: uint32(uint64(a) + uint64(b))
2023-03-14 17:55:06 +01:00