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...
 
packet::stream_source_t ssrc () const
 Get SSRC of packet originator. More...
 
void set_ssrc (const packet::stream_source_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 1035 of file headers.h.

Member Function Documentation

◆ header() [1/2]

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

Get common packet header.

Definition at line 1059 of file headers.h.

◆ header() [2/2]

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

Get common packet header.

Definition at line 1054 of file headers.h.

◆ reset()

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

Reset to initial state (all zeros).

Definition at line 1048 of file headers.h.

◆ set_ssrc()

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

Set SSRC of packet originator.

Definition at line 1069 of file headers.h.

◆ ssrc()

packet::stream_source_t roc::rtcp::header::XrPacket::ssrc ( ) const
inline

Get SSRC of packet originator.

Definition at line 1064 of file headers.h.


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