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