Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
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).
 
const PacketHeaderheader () const
 Get common packet header.
 
PacketHeaderheader ()
 Get common packet header.
 
uint32_t ssrc () const
 Get SSRC of packet originator.
 
void set_ssrc (const uint32_t ssrc)
 Set SSRC of packet originator.
 

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 980 of file headers.h.

Constructor & Destructor Documentation

◆ XrPacket()

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

Definition at line 986 of file headers.h.

Member Function Documentation

◆ header() [1/2]

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

Get common packet header.

Definition at line 1002 of file headers.h.

◆ header() [2/2]

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

Get common packet header.

Definition at line 997 of file headers.h.

◆ reset()

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

Reset to initial state (all zeros).

Definition at line 991 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 1012 of file headers.h.

◆ ssrc()

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

Get SSRC of packet originator.

Definition at line 1007 of file headers.h.


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