SmolRTSP
0.1.3
A small, portable, extensible RTSP 1.0 implementation in C99
|
RFC 3550-compliant RTP implementation. More...
#include <smolrtsp/priv/compiler_attrs.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | SmolRTSP_RtpHeader |
An RTP header. More... | |
Functions | |
size_t | SmolRTSP_RtpHeader_size (SmolRTSP_RtpHeader self) SMOLRTSP_PRIV_MUST_USE |
Computes the size of the binary self . | |
uint8_t * | SmolRTSP_RtpHeader_serialize (SmolRTSP_RtpHeader self, uint8_t buffer[restrict]) SMOLRTSP_PRIV_MUST_USE |
Writes self to buffer . More... | |
RFC 3550-compliant RTP implementation.
uint8_t* SmolRTSP_RtpHeader_serialize | ( | SmolRTSP_RtpHeader | self, |
uint8_t | buffer[restrict] | ||
) |
Writes self
to buffer
.
[in] | self | The RTP header to write. |
[out] | buffer | The pointer to write to. Must be at least of size SmolRTSP_RtpHeader_size(self) . |