libgpac
Documentation of the core library of GPAC
rtp_depacketizer.c File Reference
#include <gpac/internal/ietf_dev.h>
#include <gpac/base_coding.h>
#include <gpac/constants.h>
#include <gpac/isomedia.h>
#include <gpac/mpeg4_odf.h>
#include <gpac/avparse.h>
+ Include dependency graph for rtp_depacketizer.c:

Functions

static void gf_rtp_parse_pass_through (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_mpeg4 (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_mpeg12_audio (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_mpeg12_video (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_amr (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_h263 (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_ttxt_flush (GF_RTPDepacketizer *rtp, u32 ts)
 
static void gf_rtp_parse_ttxt (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_h264_flush (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, Bool missed_end)
 
void gf_rtp_parse_h264 (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_hevc_vvc_flush (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, Bool missed_end)
 
static void gf_rtp_parse_hevc (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_vvc (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_latm (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_ac3_eac3 (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size, Bool is_eac3)
 
static void gf_rtp_parse_ac3 (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_eac3 (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static void gf_rtp_parse_opus (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 
static u32 gf_rtp_get_payload_type (GF_RTPMap *map, GF_SDPMedia *media)
 
static GF_Err payt_set_param (GF_RTPDepacketizer *rtp, char *param_name, char *param_val)
 
static GF_Err gf_rtp_payt_setup (GF_RTPDepacketizer *rtp, GF_RTPMap *map, GF_SDPMedia *media)
 
static const GF_RTPStaticMapgf_rtp_is_valid_static_payt (u32 payt)
 
GF_EXPORT GF_RTPDepacketizer * gf_rtp_depacketizer_new (GF_SDPMedia *media, u32 hdr_payt, gf_rtp_packet_cbk sl_packet_cbk, void *udta)
 
GF_EXPORT void gf_rtp_depacketizer_reset (GF_RTPDepacketizer *rtp, Bool full_reset)
 
GF_EXPORT void gf_rtp_depacketizer_del (GF_RTPDepacketizer *rtp)
 
GF_EXPORT void gf_rtp_depacketizer_process (GF_RTPDepacketizer *rtp, GF_RTPHeader *hdr, u8 *payload, u32 size)
 

Variables

const GF_RTPStaticMap static_payloads []
 

Function Documentation

◆ gf_rtp_parse_pass_through()

static void gf_rtp_parse_pass_through ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the caller graph for this function:

◆ gf_rtp_parse_mpeg4()

static void gf_rtp_parse_mpeg4 ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_mpeg12_audio()

static void gf_rtp_parse_mpeg12_audio ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_mpeg12_video()

static void gf_rtp_parse_mpeg12_video ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the caller graph for this function:

◆ gf_rtp_parse_amr()

static void gf_rtp_parse_amr ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the caller graph for this function:

◆ gf_rtp_parse_h263()

static void gf_rtp_parse_h263 ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_ttxt_flush()

static void gf_rtp_ttxt_flush ( GF_RTPDepacketizer *  rtp,
u32  ts 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_ttxt()

static void gf_rtp_parse_ttxt ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_h264_flush()

static void gf_rtp_h264_flush ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
Bool  missed_end 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_h264()

void gf_rtp_parse_h264 ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_hevc_vvc_flush()

static void gf_rtp_hevc_vvc_flush ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
Bool  missed_end 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_hevc()

static void gf_rtp_parse_hevc ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_vvc()

static void gf_rtp_parse_vvc ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_latm()

static void gf_rtp_parse_latm ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the caller graph for this function:

◆ gf_rtp_parse_ac3_eac3()

static void gf_rtp_parse_ac3_eac3 ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size,
Bool  is_eac3 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_ac3()

static void gf_rtp_parse_ac3 ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_eac3()

static void gf_rtp_parse_eac3 ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_parse_opus()

static void gf_rtp_parse_opus ( GF_RTPDepacketizer *  rtp,
GF_RTPHeader hdr,
u8 payload,
u32  size 
)
static
+ Here is the caller graph for this function:

◆ gf_rtp_get_payload_type()

static u32 gf_rtp_get_payload_type ( GF_RTPMap map,
GF_SDPMedia media 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ payt_set_param()

static GF_Err payt_set_param ( GF_RTPDepacketizer *  rtp,
char *  param_name,
char *  param_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_payt_setup()

static GF_Err gf_rtp_payt_setup ( GF_RTPDepacketizer *  rtp,
GF_RTPMap map,
GF_SDPMedia media 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_rtp_is_valid_static_payt()

static const GF_RTPStaticMap* gf_rtp_is_valid_static_payt ( u32  payt)
static
+ Here is the caller graph for this function:

Variable Documentation

◆ static_payloads

const GF_RTPStaticMap static_payloads[]
Initial value:
=
{
{ GF_RTP_PAYT_MP2T, 90000, GF_STREAM_FILE, 0, "video/mp2t"},
}
@ GF_STREAM_AUDIO
Definition: constants.h:66
@ GF_STREAM_FILE
Definition: constants.h:104
@ GF_STREAM_VISUAL
Definition: constants.h:64
@ GF_RTP_PAYT_MPEG12_AUDIO
Definition: ietf.h:1434
@ GF_RTP_PAYT_PCMA
Definition: ietf.h:1422
@ GF_RTP_PAYT_H261
Definition: ietf.h:1448
@ GF_RTP_PAYT_L16_STEREO
Definition: ietf.h:1426
@ GF_RTP_PAYT_JPEG
Definition: ietf.h:1444
@ GF_RTP_PAYT_QCELP_BASIC
Definition: ietf.h:1430
@ GF_RTP_PAYT_H263
Definition: ietf.h:1454
@ GF_RTP_PAYT_DVI4_16K
Definition: ietf.h:1418
@ GF_RTP_PAYT_MP2T
Definition: ietf.h:1452
@ GF_RTP_PAYT_G728
Definition: ietf.h:1436
@ GF_RTP_PAYT_DVI4_11K
Definition: ietf.h:1437
@ GF_RTP_PAYT_nv
Definition: ietf.h:1446
@ GF_RTP_PAYT_DVI4_8K
Definition: ietf.h:1416
@ GF_RTP_PAYT_PCMU
Definition: ietf.h:1410
@ GF_RTP_PAYT_G722
Definition: ietf.h:1424
@ GF_RTP_PAYT_G723
Definition: ietf.h:1414
@ GF_RTP_PAYT_GSM
Definition: ietf.h:1412
@ GF_RTP_PAYT_G729
Definition: ietf.h:1440
@ GF_RTP_PAYT_CN
Definition: ietf.h:1432
@ GF_RTP_PAYT_LPC
Definition: ietf.h:1420
@ GF_RTP_PAYT_L16_MONO
Definition: ietf.h:1428
@ GF_RTP_PAYT_CelB
Definition: ietf.h:1442
@ GF_RTP_PAYT_DVI4_22K
Definition: ietf.h:1438
@ GF_RTP_PAYT_MPEG12_VIDEO
Definition: ietf.h:1450