![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
RTP header. More...
#include <headers.h>
Public Member Functions | |
uint32_t | header_size () const |
Get header size in bytes. | |
void | clear () |
Clear header. | |
uint8_t | version () const |
Get version. | |
void | set_version (Version v) |
Set version. | |
bool | has_padding () const |
Get padding flag. | |
void | set_padding (bool v) |
Set padding flag. | |
bool | has_extension () const |
Get extension flag. | |
uint8_t | num_csrc () const |
Get CSRC array size. | |
uint8_t | payload_type () const |
Get payload type. | |
void | set_payload_type (uint8_t pt) |
Set payload type. | |
bool | marker () const |
Get marker bit. | |
void | set_marker (bool m) |
Set marker bit. | |
uint16_t | seqnum () const |
Get sequence number. | |
void | set_seqnum (uint16_t sn) |
Set sequence number. | |
uint32_t | timestamp () const |
Get timestamp. | |
void | set_timestamp (uint32_t ts) |
Set timestamp. | |
uint32_t | ssrc () const |
Get SSRC. | |
void | set_ssrc (uint32_t s) |
Set SSRC. | |
uint32_t | get_csrc (size_t index) const |
Get CSRC. | |
RTP header.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |