20#include <compy/priv/compiler_attrs.h>
25#define COMPY_MAX_H264_NALU_SIZE 1200
30#define COMPY_MAX_H265_NALU_SIZE 4096
A generic NAL (Network Abstraction Layer) representation.
Compy_NalTransport * Compy_NalTransport_new(Compy_RtpTransport *t) COMPY_PRIV_MUST_USE
Creates a new RTP/NAL transport with the default configuration.
Definition nal_transport.c:30
Compy_NalTransport * Compy_NalTransport_new_with_config(Compy_RtpTransport *t, Compy_NalTransportConfig config) COMPY_PRIV_MUST_USE
Creates a new RTP/NAL transport with a custom configuration.
Definition nal_transport.c:37
int Compy_NalTransport_send_packet(Compy_NalTransport *self, Compy_RtpTimestamp ts, Compy_NalUnit nalu) COMPY_PRIV_MUST_USE
Sends an RTP/NAL packet.
Definition nal_transport.c:65
declImplExtern99(Compy_Droppable, Compy_NalTransport)
Implements Compy_Droppable_IFACE for Compy_NalTransport.
Compy_NalTransportConfig Compy_NalTransportConfig_default(void) COMPY_PRIV_MUST_USE
Returns the default Compy_NalTransportConfig.
Definition nal_transport.c:18
The configuration structure for Compy_NalTransport.
Definition nal_transport.h:35
size_t max_h265_nalu_size
The maximum size of an H.265 NAL unit (including the header).
Definition nal_transport.h:44
size_t max_h264_nalu_size
The maximum size of an H.264 NAL unit (including the header).
Definition nal_transport.h:39
Definition nal_transport.c:25
A generic NAL unit (either H.264 or H.265).
Definition nal.h:112
Definition rtp_transport.c:11