libgpac
Documentation of the core library of GPAC
isom_hinter.c File Reference
+ Include dependency graph for isom_hinter.c:

Data Structures

struct  GF_RTPHinter
 

Macros

#define OFFSET_HINT_GROUP_ID   0x8000
 

Functions

void gf_media_get_sample_average_infos (GF_ISOFile *file, u32 Track, u32 *avgSize, u32 *MaxSize, u32 *TimeDelta, u32 *maxCTSDelta, u32 *const_duration, u32 *bandwidth)
 
void InitSL_RTP (GF_SLConfig *slc)
 
void InitSL_NULL (GF_SLConfig *slc)
 
void MP4T_OnPacketDone (void *cbk, GF_RTPHeader *header)
 
void MP4T_OnDataRef (void *cbk, u32 payload_size, u32 offset_from_orig)
 
void MP4T_OnData (void *cbk, u8 *data, u32 data_size, Bool is_header)
 
void MP4T_OnNewPacket (void *cbk, GF_RTPHeader *header)
 
GF_EXPORT GF_RTPHinter * gf_hinter_track_new (GF_ISOFile *file, u32 TrackNum, u32 Path_MTU, u32 max_ptime, u32 default_rtp_rate, u32 flags, u8 PayloadID, Bool copy_media, u32 InterleaveGroupID, u8 InterleaveGroupPriority, GF_Err *e)
 
GF_EXPORT GF_Err gf_hinter_track_force_no_offsets (GF_RTPHinter *tkHinter)
 
GF_EXPORT u32 gf_hinter_track_get_bandwidth (GF_RTPHinter *tkHinter)
 
GF_EXPORT u32 gf_hinter_track_get_flags (GF_RTPHinter *tkHinter)
 
GF_EXPORT void gf_hinter_track_get_payload_name (GF_RTPHinter *tkHinter, char *payloadName)
 
GF_EXPORT void gf_hinter_track_del (GF_RTPHinter *tkHinter)
 
GF_EXPORT GF_Err gf_hinter_track_process (GF_RTPHinter *tkHint)
 
static u32 write_nalu_config_array (char **sdpLine, GF_List *nalus)
 
static void write_avc_config (char **sdpLine, GF_AVCConfig *avcc, GF_AVCConfig *svcc)
 
GF_EXPORT GF_Err gf_hinter_track_finalize (GF_RTPHinter *tkHint, Bool AddSystemInfo)
 
GF_EXPORT Bool gf_hinter_can_embbed_data (u8 *data, u32 data_size, u32 streamType)
 
GF_EXPORT GF_Err gf_hinter_finalize (GF_ISOFile *file, GF_SDP_IODProfile IOD_Profile, u32 bandwidth)
 

Data Structure Documentation

◆ __tag_isom_hinter

struct __tag_isom_hinter

ISOBMFF RTP hinter object

Data Fields
GF_ISOFile * file
u32 TrackNum
u32 TrackID
u32 HintTrack
u32 HintID
u32 HintSample
u32 RTPTime
Bool has_ctts
u8 SampleIsRAP
u32 base_offset_in_sample
u32 OrigTimeScale
GP_RTPPacketizer * rtp_p
u32 bandwidth
u32 nb_chan
u32 avc_nalu_size
u32 TotalSample
u32 CurrentSample

Macro Definition Documentation

◆ OFFSET_HINT_GROUP_ID

#define OFFSET_HINT_GROUP_ID   0x8000

Function Documentation

◆ gf_media_get_sample_average_infos()

void gf_media_get_sample_average_infos ( GF_ISOFile *  file,
u32  Track,
u32 avgSize,
u32 MaxSize,
u32 TimeDelta,
u32 maxCTSDelta,
u32 const_duration,
u32 bandwidth 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitSL_RTP()

void InitSL_RTP ( GF_SLConfig slc)
+ Here is the caller graph for this function:

◆ InitSL_NULL()

void InitSL_NULL ( GF_SLConfig slc)
+ Here is the caller graph for this function:

◆ MP4T_OnPacketDone()

void MP4T_OnPacketDone ( void *  cbk,
GF_RTPHeader header 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MP4T_OnDataRef()

void MP4T_OnDataRef ( void *  cbk,
u32  payload_size,
u32  offset_from_orig 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MP4T_OnData()

void MP4T_OnData ( void *  cbk,
u8 data,
u32  data_size,
Bool  is_header 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MP4T_OnNewPacket()

void MP4T_OnNewPacket ( void *  cbk,
GF_RTPHeader header 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_nalu_config_array()

static u32 write_nalu_config_array ( char **  sdpLine,
GF_List *  nalus 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_avc_config()

static void write_avc_config ( char **  sdpLine,
GF_AVCConfig avcc,
GF_AVCConfig svcc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function: