Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::rtcp::header::XrPacket Class Reference

RTCP Extended Report Packet. More...

#include <headers.h>

Public Member Functions

void reset ()
 Reset to initial state (all zeros). More...
 
const PacketHeaderheader () const
 Get common packet header. More...
 
PacketHeaderheader ()
 Get common packet header. More...
 
uint32_t ssrc () const
 Get SSRC of packet originator. More...
 
void set_ssrc (const uint32_t ssrc)
 Set SSRC of packet originator. More...
 

Detailed Description

RTCP Extended Report Packet.

RFC 3611 2. "XR Packet Format"

0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|V=2|P|reserved | PT=Xr=207 | length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: report blocks :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Definition at line 983 of file headers.h.

Member Function Documentation

◆ header() [1/2]

PacketHeader& roc::rtcp::header::XrPacket::header ( )
inline

Get common packet header.

Definition at line 1005 of file headers.h.

◆ header() [2/2]

const PacketHeader& roc::rtcp::header::XrPacket::header ( ) const
inline

Get common packet header.

Definition at line 1000 of file headers.h.

◆ reset()

void roc::rtcp::header::XrPacket::reset ( )
inline

Reset to initial state (all zeros).

Definition at line 994 of file headers.h.

◆ set_ssrc()

void roc::rtcp::header::XrPacket::set_ssrc ( const uint32_t  ssrc)
inline

Set SSRC of packet originator.

Definition at line 1015 of file headers.h.

◆ ssrc()

uint32_t roc::rtcp::header::XrPacket::ssrc ( ) const
inline

Get SSRC of packet originator.

Definition at line 1010 of file headers.h.


The documentation for this class was generated from the following file: