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

Macros

#define COM_FREE_CLEAN(hdr)
 

Functions

GF_EXPORT GF_RTSPCommandgf_rtsp_command_new ()
 
GF_EXPORT void gf_rtsp_command_reset (GF_RTSPCommand *com)
 
GF_EXPORT void gf_rtsp_command_del (GF_RTSPCommand *com)
 
GF_Err RTSP_WriteCommand (GF_RTSPSession *sess, GF_RTSPCommand *com, unsigned char *req_buffer, unsigned char **out_buffer, u32 *out_size)
 
GF_EXPORT GF_Err gf_rtsp_send_command (GF_RTSPSession *sess, GF_RTSPCommand *com)
 
void gf_rtsp_set_command_value (GF_RTSPCommand *com, char *Header, char *Value)
 
GF_Err RTSP_ParseCommandHeader (GF_RTSPSession *sess, GF_RTSPCommand *com, u32 BodyStart)
 
GF_EXPORT GF_Err gf_rtsp_get_command (GF_RTSPSession *sess, GF_RTSPCommand *com)
 

Variables

char * RTSP_DEFINED_METHODS []
 

Macro Definition Documentation

◆ COM_FREE_CLEAN

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

Function Documentation

◆ RTSP_WriteCommand()

GF_Err RTSP_WriteCommand ( GF_RTSPSession *  sess,
GF_RTSPCommand com,
unsigned char *  req_buffer,
unsigned char **  out_buffer,
u32 out_size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtsp_set_command_value()

void gf_rtsp_set_command_value ( GF_RTSPCommand com,
char *  Header,
char *  Value 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RTSP_ParseCommandHeader()

GF_Err RTSP_ParseCommandHeader ( GF_RTSPSession *  sess,
GF_RTSPCommand com,
u32  BodyStart 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ RTSP_DEFINED_METHODS

char* RTSP_DEFINED_METHODS[]
Initial value:
=
{
NULL
}
#define GF_RTSP_PAUSE
Definition: ietf.h:231
#define GF_RTSP_RECORD
Definition: ietf.h:233
#define GF_RTSP_PLAY
Definition: ietf.h:229
#define GF_RTSP_GET_PARAMETER
Definition: ietf.h:237
#define GF_RTSP_SETUP
Definition: ietf.h:227
#define GF_RTSP_ANNOUNCE
Definition: ietf.h:243
#define GF_RTSP_TEARDOWN
Definition: ietf.h:235
#define GF_RTSP_REDIRECT
Definition: ietf.h:245
#define GF_RTSP_OPTIONS
Definition: ietf.h:241
#define GF_RTSP_SET_PARAMETER
Definition: ietf.h:239
#define GF_RTSP_DESCRIBE
Definition: ietf.h:225