roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.03k stars 205 forks source link

Capture timestamps in frames and rtp packets #544

Closed baranovmv closed 10 months ago

baranovmv commented 10 months ago

Add unit timestamp fileds in nanoseconds to audio::Frame and packet::RTP.

Following components were modified to forward timestamps:

Added CaptureTsFiller class (packet reader) that gets a pair of a unix timestamp and a correspondent rtp timestamp and fills capture_timestamp field in rtp packet.

gavv commented 10 months ago

Summary from matrix:

gavv commented 10 months ago

Follow-up commits: