MythTV
master
|
RTCP Data Packet. More...
#include <libmythtv/recorders/rtp/rtcpdatapacket.h>
Public Member Functions | |
RTCPDataPacket (const RTCPDataPacket &o) | |
RTCPDataPacket (uint32_t timestamp, uint32_t last_timestamp, uint32_t sequence, uint32_t last_sequence, uint32_t lost, uint32_t lost_interval, uint32_t ssrc) | |
QByteArray | GetData (void) const |
uint | GetSequenceNumber (void) const |
![]() | |
UDPPacket (const UDPPacket &)=default | |
UDPPacket (uint64_t key) | |
UDPPacket (void)=default | |
virtual | ~UDPPacket ()=default |
UDPPacket & | operator= (const UDPPacket &)=default |
virtual bool | IsValid (void) const |
IsValid() must return true before any data access methods are called, other than GetDataReference() and GetData() More... | |
uint64_t | GetKey (void) const |
QByteArray & | GetDataReference (void) |
QByteArray | GetData (void) const |
Protected Attributes | |
uint32_t | m_timestamp |
uint32_t | m_last_timestamp |
uint32_t | m_sequence |
uint32_t | m_last_sequence |
uint32_t | m_lost |
uint32_t | m_lost_interval {0} |
uint32_t | m_ssrc |
![]() | |
uint64_t | m_key { 0ULL } |
Key used to ensure we avoid extra memory allocation in m_data QByteArray. More... | |
QByteArray | m_data |
RTCP Data Packet.
The RTCP Header exists for all RTP packets, it contains a payload type, timestamp and a sequence number for packet reordering.
Different RTP Data Packet types have their own sub-classes for accessing the data portion of the packet.
The data is stored in a QByteArray which is a reference counted shared data container, so an RTPDataPacket can be assigned to a subclass efficiently.
Definition at line 37 of file rtcpdatapacket.h.
|
inline |
Definition at line 40 of file rtcpdatapacket.h.
|
inline |
Definition at line 47 of file rtcpdatapacket.h.
|
inline |
Definition at line 56 of file rtcpdatapacket.h.
Referenced by IPTVStreamHandlerWriteHelper::SendRTCPReport().
|
inline |
Definition at line 148 of file rtcpdatapacket.h.
|
protected |
Definition at line 154 of file rtcpdatapacket.h.
Referenced by GetData().
|
protected |
Definition at line 155 of file rtcpdatapacket.h.
Referenced by GetData().
|
protected |
Definition at line 156 of file rtcpdatapacket.h.
Referenced by GetData(), and GetSequenceNumber().
|
protected |
Definition at line 157 of file rtcpdatapacket.h.
|
protected |
Definition at line 158 of file rtcpdatapacket.h.
|
protected |
Definition at line 159 of file rtcpdatapacket.h.
|
protected |
Definition at line 160 of file rtcpdatapacket.h.
Referenced by GetData().