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

Source Description RTCP packet (SDES). 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...
 

Detailed Description

Source Description RTCP packet (SDES).

RFC 3550 6.5. "SDES: Source Description RTCP packet"

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
header |V=2|P| RC | PT=Sdes=202 | length |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Chunk1 | SSRC_1 (SSRC of first source) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Item1 | Type | Length | Text in UTF-8 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Item2 | Type | Length | Text in UTF-8 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Item 3 | Type | Length | Text in UTF-8 |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Chunk2 | SSRC_2 (SSRC of second source) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Item1 | Type | Length | Text in UTF-8 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Item2 | Type | Length | Text in UTF-8 |
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
: ... :
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
const PacketHeader & header() const
Get common packet header.
Definition: headers.h:828

Definition at line 813 of file headers.h.

Member Function Documentation

◆ header() [1/2]

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

Get common packet header.

Definition at line 833 of file headers.h.

◆ header() [2/2]

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

Get common packet header.

Definition at line 828 of file headers.h.

◆ reset()

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

Reset to initial state (all zeros).

Definition at line 823 of file headers.h.


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