GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
rtsp_session.c File Reference
+ Include dependency graph for rtsp_session.c:

Macros

#define HTTP_WAIT_SEC   30
 
#define HTTP_RSP_OK   "HTTP/1.0 200 OK"
 

Functions

GF_Err RTSP_UnpackURL (char *sURL, char *Server, u16 *Port, char *Service, Bool *useTCP)
 
GF_RTSPSession * gf_rtsp_session_new (char *sURL, u16 DefaultPort)
 
void gf_rtsp_reset_aggregation (GF_RTSPSession *sess)
 
void RTSP_AcknowledgeError (GF_RTSPSession *sess)
 
void RemoveTCPChannels (GF_RTSPSession *sess)
 
void gf_rtsp_session_reset (GF_RTSPSession *sess, Bool ResetConnection)
 
void gf_rtsp_session_del (GF_RTSPSession *sess)
 
u32 gf_rtsp_get_session_state (GF_RTSPSession *sess)
 
void gf_rtsp_set_mobile_ip (GF_RTSPSession *sess, char *MobileIP)
 
char * gf_rtsp_get_last_request (GF_RTSPSession *sess)
 
u32 gf_rtsp_is_my_session (GF_RTSPSession *sess, char *url)
 
const char * gf_rtsp_get_last_session_id (GF_RTSPSession *sess)
 
char * gf_rtsp_get_server_name (GF_RTSPSession *sess)
 
char * gf_rtsp_get_service_name (GF_RTSPSession *sess)
 
u16 gf_rtsp_get_session_port (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_check_connection (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_send_data (GF_RTSPSession *sess, char *buffer, u32 Size)
 
static GF_TCPChanGetTCPChannel (GF_RTSPSession *sess, u8 rtpID, u8 rtcpID, Bool RemoveIt)
 
GF_Err gf_rtsp_set_deinterleave (GF_RTSPSession *sess)
 
GF_Err RTSP_ResetInterleaving (GF_RTSPSession *sess, Bool ResetChannels)
 
GF_Err gf_rtsp_session_read (GF_RTSPSession *sess)
 
u32 gf_rtsp_unregister_interleave (GF_RTSPSession *sess, u8 LowInterID)
 
GF_Err gf_rtsp_register_interleave (GF_RTSPSession *sess, void *the_ch, u8 LowInterID, u8 HighInterID)
 
GF_Err gf_rtsp_set_interleave_callback (GF_RTSPSession *sess, GF_Err(*SignalData)(GF_RTSPSession *sess, void *chan, char *buffer, u32 bufferSize, Bool IsRTCP))
 
GF_Err gf_rtsp_set_buffer_size (GF_RTSPSession *sess, u32 BufferSize)
 
void RTSP_GenerateHTTPCookie (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_http_tunnel_start (GF_RTSPSession *sess, char *UserAgent)
 
GF_RTSPSession * gf_rtsp_session_new_server (GF_Socket *rtsp_listener)
 
GF_Err gf_rtsp_load_service_name (GF_RTSPSession *sess, char *URL)
 
char * gf_rtsp_generate_session_id (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_get_session_ip (GF_RTSPSession *sess, char *buffer)
 
u8 gf_rtsp_get_next_interleave_id (GF_RTSPSession *sess)
 
GF_Err gf_rtsp_get_remote_address (GF_RTSPSession *sess, char *buf)
 

Variables

static Bool HTTP_RandInit = 1
 
static u32 SessionID_RandInit = 0
 

Macro Definition Documentation

#define HTTP_WAIT_SEC   30
#define HTTP_RSP_OK   "HTTP/1.0 200 OK"

Function Documentation

GF_Err RTSP_UnpackURL ( char *  sURL,
char *  Server,
u16 Port,
char *  Service,
Bool useTCP 
)

+ Here is the caller graph for this function:

GF_RTSPSession* gf_rtsp_session_new ( char *  sURL,
u16  DefaultPort 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_reset_aggregation ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RTSP_AcknowledgeError ( GF_RTSPSession *  sess)
void RemoveTCPChannels ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_session_reset ( GF_RTSPSession *  sess,
Bool  ResetConnection 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_session_del ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_rtsp_get_session_state ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_rtsp_set_mobile_ip ( GF_RTSPSession *  sess,
char *  MobileIP 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

char* gf_rtsp_get_last_request ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

u32 gf_rtsp_is_my_session ( GF_RTSPSession *  sess,
char *  url 
)

+ Here is the caller graph for this function:

const char* gf_rtsp_get_last_session_id ( GF_RTSPSession *  sess)
char* gf_rtsp_get_server_name ( GF_RTSPSession *  sess)

+ Here is the caller graph for this function:

char* gf_rtsp_get_service_name ( GF_RTSPSession *  sess)

+ Here is the caller graph for this function:

u16 gf_rtsp_get_session_port ( GF_RTSPSession *  sess)

+ Here is the caller graph for this function:

GF_Err gf_rtsp_check_connection ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_send_data ( GF_RTSPSession *  sess,
char *  buffer,
u32  Size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_TCPChan* GetTCPChannel ( GF_RTSPSession *  sess,
u8  rtpID,
u8  rtcpID,
Bool  RemoveIt 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_set_deinterleave ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err RTSP_ResetInterleaving ( GF_RTSPSession *  sess,
Bool  ResetChannels 
)

+ Here is the call graph for this function:

GF_Err gf_rtsp_session_read ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_rtsp_unregister_interleave ( GF_RTSPSession *  sess,
u8  LowInterID 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_register_interleave ( GF_RTSPSession *  sess,
void *  the_ch,
u8  LowInterID,
u8  HighInterID 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_set_interleave_callback ( GF_RTSPSession *  sess,
GF_Err(*)(GF_RTSPSession *sess, void *chan, char *buffer, u32 bufferSize, Bool IsRTCP)  SignalData 
)

+ Here is the call graph for this function:

GF_Err gf_rtsp_set_buffer_size ( GF_RTSPSession *  sess,
u32  BufferSize 
)

+ Here is the caller graph for this function:

void RTSP_GenerateHTTPCookie ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtsp_http_tunnel_start ( GF_RTSPSession *  sess,
char *  UserAgent 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_RTSPSession* gf_rtsp_session_new_server ( GF_Socket *  rtsp_listener)

+ Here is the call graph for this function:

GF_Err gf_rtsp_load_service_name ( GF_RTSPSession *  sess,
char *  URL 
)

+ Here is the call graph for this function:

char* gf_rtsp_generate_session_id ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

GF_Err gf_rtsp_get_session_ip ( GF_RTSPSession *  sess,
char *  buffer 
)

+ Here is the call graph for this function:

u8 gf_rtsp_get_next_interleave_id ( GF_RTSPSession *  sess)

+ Here is the call graph for this function:

GF_Err gf_rtsp_get_remote_address ( GF_RTSPSession *  sess,
char *  buf 
)

+ Here is the call graph for this function:

Variable Documentation

Bool HTTP_RandInit = 1
static
u32 SessionID_RandInit = 0
static