MythTV
master
|
#include <libmythtv/recorders/rtp/udppacketbuffer.h>
Public Member Functions | |
UDPPacketBuffer (unsigned int bitrate) | |
void | PushDataPacket (const UDPPacket &packet) override |
Adds Raw UDP data packet. More... | |
void | PushFECPacket (const UDPPacket &packet, unsigned int) override |
Frees the packet, there is no FEC used by Raw UDP. More... | |
Public Member Functions inherited from PacketBuffer | |
PacketBuffer (unsigned int bitrate) | |
virtual | ~PacketBuffer ()=default |
bool | HasAvailablePacket (void) const |
Returns true if there are ordered packets ready for processing. More... | |
UDPPacket | PopDataPacket (void) |
Fetches a data packet for processing. More... | |
UDPPacket | GetEmptyPacket (void) |
Gets a packet for use in PushDataPacket/PushFECPacket. More... | |
void | FreePacket (const UDPPacket &packet) |
Frees an RTPDataPacket returned by PopDataPacket. More... | |
Additional Inherited Members | |
Protected Attributes inherited from PacketBuffer | |
uint | m_bitrate |
uint64_t | m_next_empty_packet_key |
Packets key to use for next empty packet. More... | |
QMap< uint64_t, UDPPacket > | m_empty_packets |
Packets ready for reuse. More... | |
QList< UDPPacket > | m_available_packets |
Ordered list of available packets. More... | |
Definition at line 12 of file udppacketbuffer.h.
|
inline |
Definition at line 15 of file udppacketbuffer.h.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Frees the packet, there is no FEC used by Raw UDP.
Implements PacketBuffer.
Definition at line 24 of file udppacketbuffer.h.