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

Goodbye RTCP packet (BYE). 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

Goodbye RTCP packet (BYE).

RFC 3550 6.6. "BYE: Goodbye 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|V=2|P| SC | PT=Bye=203 | length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SSRC/CSRC |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
: ... :
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
(opt) | length | reason for leaving ...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Definition at line 943 of file headers.h.

Member Function Documentation

◆ header() [1/2]

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

Get common packet header.

Definition at line 963 of file headers.h.

◆ header() [2/2]

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

Get common packet header.

Definition at line 958 of file headers.h.

◆ reset()

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

Reset to initial state (all zeros).

Definition at line 953 of file headers.h.


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