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
rtcp.c File Reference
#include <gpac/internal/ietf_dev.h>
#include <gpac/bitstream.h>
#include <time.h>
+ Include dependency graph for rtcp.c:

Macros

#define RTCP_SAFE_FREE(p)
 

Functions

u32 gf_rtp_read_rtcp (GF_RTPChannel *ch, char *buffer, u32 buffer_size)
 
GF_Err gf_rtp_decode_rtcp (GF_RTPChannel *ch, char *pck, u32 pck_size, Bool *has_sr)
 
u32 gf_rtp_get_ntp_frac (u32 sec, u32 frac)
 
static u32 RTCP_FormatReport (GF_RTPChannel *ch, GF_BitStream *bs, u32 NTP_Time)
 
static u32 RTCP_FormatSDES (GF_RTPChannel *ch, GF_BitStream *bs)
 
static u32 RTCP_FormatBYE (GF_RTPChannel *ch, GF_BitStream *bs)
 
GF_Err gf_rtp_send_bye (GF_RTPChannel *ch, GF_Err(*RTP_TCPCallback)(void *cbk, char *pck, u32 pck_size), void *rtsp_cbk)
 
GF_Err gf_rtp_send_rtcp_report (GF_RTPChannel *ch, GF_Err(*RTP_TCPCallback)(void *cbk, char *pck, u32 pck_size), void *rtsp_cbk)
 
GF_Err gf_rtp_set_info_rtcp (GF_RTPChannel *ch, u32 InfoCode, char *info_string)
 

Macro Definition Documentation

#define RTCP_SAFE_FREE (   p)
Value:
if (p) gf_free(p); \
p = NULL;
void gf_free(void *ptr)
Definition: alloc.c:164
#define NULL
Definition: setup.h:284

Function Documentation

u32 gf_rtp_read_rtcp ( GF_RTPChannel *  ch,
char *  buffer,
u32  buffer_size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_decode_rtcp ( GF_RTPChannel *  ch,
char *  pck,
u32  pck_size,
Bool has_sr 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_rtp_get_ntp_frac ( u32  sec,
u32  frac 
)

+ Here is the caller graph for this function:

static u32 RTCP_FormatReport ( GF_RTPChannel *  ch,
GF_BitStream *  bs,
u32  NTP_Time 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 RTCP_FormatSDES ( GF_RTPChannel *  ch,
GF_BitStream *  bs 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 RTCP_FormatBYE ( GF_RTPChannel *  ch,
GF_BitStream *  bs 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_send_bye ( GF_RTPChannel *  ch,
GF_Err(*)(void *cbk, char *pck, u32 pck_size)  RTP_TCPCallback,
void *  rtsp_cbk 
)

+ Here is the call graph for this function:

GF_Err gf_rtp_send_rtcp_report ( GF_RTPChannel *  ch,
GF_Err(*)(void *cbk, char *pck, u32 pck_size)  RTP_TCPCallback,
void *  rtsp_cbk 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_rtp_set_info_rtcp ( GF_RTPChannel *  ch,
u32  InfoCode,
char *  info_string 
)

+ Here is the call graph for this function: