Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Various units used in packets. More...
Go to the source code of this file.
Namespaces | |
roc | |
Root namespace. | |
roc::packet | |
Network packets and packet processing. | |
Typedefs | |
typedef uint32_t | roc::packet::stream_source_t |
Packet stream identifier. More... | |
typedef uint32_t | roc::packet::stream_timestamp_t |
Packet stream timestamp. More... | |
typedef int32_t | roc::packet::stream_timestamp_diff_t |
Packet stream timestamp delta. More... | |
typedef uint16_t | roc::packet::seqnum_t |
Packet sequence number. More... | |
typedef int16_t | roc::packet::seqnum_diff_t |
Packet sequence number delta. More... | |
typedef uint16_t | roc::packet::blknum_t |
FEC packet block number. More... | |
typedef int16_t | roc::packet::blknum_diff_t |
FEC packet block number delta. More... | |
Functions | |
stream_timestamp_diff_t | roc::packet::stream_timestamp_diff (const stream_timestamp_t a, const stream_timestamp_t b) |
Compute difference between two timestamps. More... | |
bool | roc::packet::stream_timestamp_lt (const stream_timestamp_t a, const stream_timestamp_t b) |
Check if a is before b , taking possible wrap into account. More... | |
bool | roc::packet::stream_timestamp_le (const stream_timestamp_t a, const stream_timestamp_t b) |
Check if a is before or equal to b , taking possible wrap into account. More... | |
seqnum_diff_t | roc::packet::seqnum_diff (const seqnum_t a, const seqnum_t b) |
Compute difference between two seqnums. More... | |
bool | roc::packet::seqnum_lt (const seqnum_t a, const seqnum_t b) |
Check if a is before b , taking possible wrap into account. More... | |
bool | roc::packet::seqnum_le (const seqnum_t a, const seqnum_t b) |
Check if a is before or equal to b , taking possible wrap into account. More... | |
blknum_diff_t | roc::packet::blknum_diff (const blknum_t a, const blknum_t b) |
Compute difference between two FEC packet block numbers. More... | |
bool | roc::packet::blknum_lt (const blknum_t a, const blknum_t b) |
Check if a is before b , taking possible wrap into account. More... | |
bool | roc::packet::blknum_le (const blknum_t a, const blknum_t b) |
Check if a is before or equal to b , taking possible wrap into account. More... | |
Various units used in packets.
Definition in file units.h.