|
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_packet/units.h"Go to the source code of this file.
Namespaces | |
| namespace | roc |
| Root namespace. | |
| namespace | roc::rtcp |
| RTCP protocol support. | |
Functions | |
| template<typename T > | |
| void | roc::rtcp::header::set_bitfield (T &v0, const T v1, const size_t shift, const size_t mask) |
| Set some bits in v0. | |
| 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. | |
| size_t | roc::rtcp::header::rtcp_length_2_size_t (const size_t x) |
| Converts RTCP header length field into conventional size_t value. | |
| 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. | |
| 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. | |
RTCP headers.
Definition in file headers.h.
XR Block Type.
| 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_bitfield | ( | T & | v0, |
| const T | v1, | ||
| const size_t | shift, | ||
| const size_t | mask | ||
| ) |