MythTV  master
Public Member Functions | Private Member Functions | List of all members
RTPTSDataPacket Class Reference

RTP Transport Stream Data Packet. More...

#include <rtptsdatapacket.h>

Inheritance diagram for RTPTSDataPacket:
Inheritance graph
[legend]
Collaboration diagram for RTPTSDataPacket:
Collaboration graph
[legend]

Public Member Functions

 RTPTSDataPacket (const RTPDataPacket &o)
 
 RTPTSDataPacket (const UDPPacket &o)
 
 RTPTSDataPacket (uint64_t key)
 
 RTPTSDataPacket (void)
 
const unsigned char * GetTSData (void) const
 
unsigned int GetTSDataSize (void) const
 
- Public Member Functions inherited from RTPDataPacket
 RTPDataPacket (const RTPDataPacket &)=default
 
 RTPDataPacket (const UDPPacket &o)
 
 RTPDataPacket (uint64_t key)
 
 RTPDataPacket (void)
 
RTPDataPacketoperator= (const RTPDataPacket &)=default
 
bool IsValid (void) const override
 IsValid() must return true before any data access methods are called, other than GetDataReference() and GetData() More...
 
uint GetVersion (void) const
 
bool HasPadding (void) const
 
bool HasExtension (void) const
 
uint GetCSRCCount (void) const
 
uint GetPayloadType (void) const
 
uint GetSequenceNumber (void) const
 
uint GetTimeStamp (void) const
 
uint GetSynchronizationSource (void) const
 
uint GetContributingSource (uint i) const
 
uint GetPayloadOffset (void) const
 
uint GetPaddingSize (void) const
 
- Public Member Functions inherited from UDPPacket
 UDPPacket (const UDPPacket &)=default
 
 UDPPacket (uint64_t key)
 
 UDPPacket (void)=default
 
virtual ~UDPPacket ()=default
 
UDPPacketoperator= (const UDPPacket &)=default
 
uint64_t GetKey (void) const
 
QByteArray & GetDataReference (void)
 
QByteArray GetData (void) const
 

Private Member Functions

uint GetTSOffset (void) const
 

Additional Inherited Members

- Public Types inherited from RTPDataPacket
enum  {
  kPayLoadTypePCMAudio = 8, kPayLoadTypeMPEGAudio = 12, kPayLoadTypeH261Video = 31, kPayLoadTypeMPEG2Video = 32,
  kPayLoadTypeTS = 33, kPayLoadTypeH263Video = 34
}
 
- Protected Attributes inherited from RTPDataPacket
uint m_off { 0 }
 
- Protected Attributes inherited from UDPPacket
uint64_t m_key { 0ULL }
 Key used to ensure we avoid extra memory allocation in m_data QByteArray. More...
 
QByteArray m_data
 

Detailed Description

RTP Transport Stream Data Packet.

Definition at line 16 of file rtptsdatapacket.h.

Constructor & Destructor Documentation

◆ RTPTSDataPacket() [1/4]

RTPTSDataPacket::RTPTSDataPacket ( const RTPDataPacket o)
inline

Definition at line 19 of file rtptsdatapacket.h.

◆ RTPTSDataPacket() [2/4]

RTPTSDataPacket::RTPTSDataPacket ( const UDPPacket o)
inline

Definition at line 20 of file rtptsdatapacket.h.

◆ RTPTSDataPacket() [3/4]

RTPTSDataPacket::RTPTSDataPacket ( uint64_t  key)
inline

Definition at line 21 of file rtptsdatapacket.h.

◆ RTPTSDataPacket() [4/4]

RTPTSDataPacket::RTPTSDataPacket ( void  )
inline

Definition at line 22 of file rtptsdatapacket.h.

Member Function Documentation

◆ GetTSData()

const unsigned char* RTPTSDataPacket::GetTSData ( void  ) const
inline

◆ GetTSDataSize()

unsigned int RTPTSDataPacket::GetTSDataSize ( void  ) const
inline

◆ GetTSOffset()

uint RTPTSDataPacket::GetTSOffset ( void  ) const
inlineprivate

Definition at line 35 of file rtptsdatapacket.h.

Referenced by GetTSData(), and GetTSDataSize().


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