libgpac
Documentation of the core library of GPAC
rtsp_response.c File Reference
#include <gpac/internal/ietf_dev.h>
#include <gpac/token.h>
+ Include dependency graph for rtsp_response.c:

Macros

#define RSP_FREE_CLEAN(hdr)
 

Functions

GF_EXPORT GF_RTSPResponsegf_rtsp_response_new ()
 
GF_EXPORT void gf_rtsp_response_reset (GF_RTSPResponse *rsp)
 
GF_EXPORT void gf_rtsp_response_del (GF_RTSPResponse *rsp)
 
GF_EXPORT GF_RTSPRangegf_rtsp_range_parse (char *range_buf)
 
GF_EXPORT void gf_rtsp_transport_del (GF_RTSPTransport *transp)
 
GF_EXPORT GF_RTSPTransportgf_rtsp_transport_clone (GF_RTSPTransport *original)
 
GF_EXPORT GF_RTSPRangegf_rtsp_range_new ()
 
GF_EXPORT void gf_rtsp_range_del (GF_RTSPRange *range)
 
void gf_rtsp_set_response_value (GF_RTSPResponse *rsp, char *Header, char *Value)
 
GF_Err RTSP_ParseResponseHeader (GF_RTSPSession *sess, GF_RTSPResponse *rsp, u32 BodyStart)
 
u32 IsRTSPMessage (char *buffer)
 
GF_EXPORT GF_Err gf_rtsp_get_response (GF_RTSPSession *sess, GF_RTSPResponse *rsp)
 
GF_Err RTSP_WriteResponse (GF_RTSPSession *sess, GF_RTSPResponse *rsp, unsigned char **out_buffer, u32 *out_size)
 
GF_EXPORT GF_Err gf_rtsp_send_response (GF_RTSPSession *sess, GF_RTSPResponse *rsp)
 

Macro Definition Documentation

◆ RSP_FREE_CLEAN

#define RSP_FREE_CLEAN (   hdr)
Value:
if (rsp->hdr) gf_free(rsp->hdr); \
rsp->hdr = NULL;
void gf_free(void *ptr)
Definition: alloc.c:163

Function Documentation

◆ gf_rtsp_set_response_value()

void gf_rtsp_set_response_value ( GF_RTSPResponse rsp,
char *  Header,
char *  Value 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RTSP_ParseResponseHeader()

GF_Err RTSP_ParseResponseHeader ( GF_RTSPSession *  sess,
GF_RTSPResponse rsp,
u32  BodyStart 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsRTSPMessage()

u32 IsRTSPMessage ( char *  buffer)
+ Here is the caller graph for this function:

◆ RTSP_WriteResponse()

GF_Err RTSP_WriteResponse ( GF_RTSPSession *  sess,
GF_RTSPResponse rsp,
unsigned char **  out_buffer,
u32 out_size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: