Alessandro Ros
376fb9e821
replace New* with Initialize ( #723 )
2025-03-16 13:58:35 +01:00
Alessandro Ros
01fd8033a2
use new time decoder in place of deprecated one ( #643 )
2024-11-04 13:26:14 +01:00
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
cc450b92a0
rtptime: fix crash in case of packets from tracks with invalid clock rate ( #400 )
2023-09-02 20:45:30 +02:00
aler9
8b047b545b
decode RTP time globally
2023-08-17 13:41:01 +02:00
aler9
9f19892c23
improve performance
2023-08-16 13:24:18 +02:00
Alessandro Ros
67d4106adc
rtptime: fix time encoding on arm32 ( #274 ) ( #277 )
2023-05-08 13:54:51 +02:00
Alessandro Ros
1005b38ec5
add benchmark ( #207 )
2023-03-18 16:45:21 +01: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