Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
RTCP packet header, common for all RTCP packet types. More...
#include <headers.h>
Public Member Functions | |
void | reset (const PacketType t) |
Reset to initial state (all zeros). More... | |
size_t | counter () const |
Get number of blocks/chunks following. More... | |
void | set_counter (const size_t c) |
Set number of blocks/chunks. More... | |
void | inc_counter () |
Increment packet counter,. More... | |
uint8_t | version () const |
Get protocol version. More... | |
void | set_version (const Version v) |
Set protocol version. More... | |
bool | has_padding () const |
Get padding flag. More... | |
void | set_padding (const bool v) |
Set padding flag. More... | |
PacketType | type () const |
Get packet type. More... | |
void | set_type (const PacketType t) |
Set packet type. More... | |
uint16_t | len_words () const |
Get packet length, including the header, in 32-bit words minus one. More... | |
void | set_len_words (const uint16_t len) |
Set packet length in words. More... | |
size_t | len_bytes () const |
Get packet length, including the header, in bytes. More... | |
void | set_len_bytes (const size_t len) |
Set packet length in bytes. More... | |
RTCP packet header, common for all RTCP packet types.
RFC 3550 6.4.1: "SR: Sender Report RTCP Packet" RFC 3550 6.4.2: "RR: Receiver Report RTCP Packet"
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |