H.264 Codec for ESP32-S3
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
RDPPacketizer Class Reference

RDPPacketizer class to packetize H.264 NAL units into RTP packets. This class takes raw H.264 NAL units (in Annex-B format) and packetizes them into RTP packets suitable for streaming over UDP. More...

#include <RDPPacketizer.h>

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

Public Member Functions

 RDPPacketizer (Print &out, uint32_t ssrc=0x12345678)
 
size_t write (const uint8_t *data, size_t len)
 
virtual size_t write (uint8_t)
 

Static Public Attributes

static constexpr size_t MTU = 1200
 
static constexpr uint8_t RTP_VERSION = 2
 
static constexpr uint8_t RTP_PAYLOAD_TYPE = 96
 

Detailed Description

RDPPacketizer class to packetize H.264 NAL units into RTP packets. This class takes raw H.264 NAL units (in Annex-B format) and packetizes them into RTP packets suitable for streaming over UDP.

This way you can e.g. Send H264 frames to QGroundcontrol

Constructor & Destructor Documentation

◆ RDPPacketizer()

RDPPacketizer ( Print &  out,
uint32_t  ssrc = 0x12345678 
)
inline

Member Function Documentation

◆ write() [1/2]

size_t write ( const uint8_t *  data,
size_t  len 
)
inline

◆ write() [2/2]

virtual size_t write ( uint8_t  )
inlinevirtual

Member Data Documentation

◆ MTU

constexpr size_t MTU = 1200
staticconstexpr

◆ RTP_PAYLOAD_TYPE

constexpr uint8_t RTP_PAYLOAD_TYPE = 96
staticconstexpr

◆ RTP_VERSION

constexpr uint8_t RTP_VERSION = 2
staticconstexpr

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