Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
RTCP-specific NTP helpers. More...
#include "roc_packet/ntp.h"
Go to the source code of this file.
Namespaces | |
roc | |
Root namespace. | |
roc::rtcp | |
RTCP protocol support. | |
Functions | |
packet::ntp_timestamp_t | roc::rtcp::ntp_clamp_64 (packet::ntp_timestamp_t value, packet::ntp_timestamp_t max_value) |
Clamp 64-bit NTP timestamp so that it does not exceed maximum. More... | |
packet::ntp_timestamp_t | roc::rtcp::ntp_clamp_32 (packet::ntp_timestamp_t value, packet::ntp_timestamp_t max_value) |
Clamp 64-bit NTP timestamp so that it fits into middle 32-bits. Value is rounded to the new resolution and capped with given maximum. Returned value has zeros in high and low 16 bits. More... | |
packet::ntp_timestamp_t | roc::rtcp::ntp_extend (packet::ntp_timestamp_t base, packet::ntp_timestamp_t value) |
Restore full 64-bit NTP timestamp from middle 32 bits. More... | |
RTCP-specific NTP helpers.
Definition in file ntp.h.