![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
RTCP headers. More...
#include "roc_core/attributes.h"
#include "roc_core/endian.h"
#include "roc_core/panic.h"
#include "roc_core/stddefs.h"
#include "roc_core/time.h"
#include "roc_packet/ntp.h"
#include "roc_packet/units.h"
#include "roc_rtcp/ntp.h"
Go to the source code of this file.
Namespaces | |
roc | |
Root namespace. | |
roc::rtcp | |
RTCP protocol support. | |
Functions | |
template<typename T > | |
T | roc::rtcp::header::get_bit_field (T v0, const size_t shift, const size_t mask) |
Get bits from v0. More... | |
template<typename T > | |
void | roc::rtcp::header::set_bit_field (T &v0, const T v1, const size_t shift, const size_t mask) |
Set bits in v0. More... | |
uint16_t | roc::rtcp::header::size_t_2_rtcp_length (const size_t x) |
Computes the value of RTCP packet header length field from input number. More... | |
size_t | roc::rtcp::header::rtcp_length_2_size_t (const size_t x) |
Converts RTCP header length field into conventional size_t value. More... | |
size_t | roc::rtcp::header::padding_len (const size_t size, const size_t min_padding) |
How much padding bytes do we need in order to align with 32-bits. More... | |
template<class Blk , class Pkt > | |
Blk & | roc::rtcp::header::get_block_by_index (Pkt *pkt, size_t block_index, size_t num_blocks, const char *pkt_type) |
Get a block that follows header, by index. More... | |
RTCP headers.
Definition in file headers.h.
Interval Metric flag for XR Delay Metrics Block.
T roc::rtcp::header::get_bit_field | ( | T | v0, |
const size_t | shift, | ||
const size_t | mask | ||
) |
Blk& roc::rtcp::header::get_block_by_index | ( | Pkt * | pkt, |
size_t | block_index, | ||
size_t | num_blocks, | ||
const char * | pkt_type | ||
) |
|
inline |
|
inline |
void roc::rtcp::header::set_bit_field | ( | T & | v0, |
const T | v1, | ||
const size_t | shift, | ||
const size_t | mask | ||
) |