libgpac
Documentation of the core library of GPAC
|
#include <gpac/internal/media_dev.h>
#include <gpac/base_coding.h>
#include <gpac/mpeg4_odf.h>
#include <gpac/constants.h>
#include <gpac/maths.h>
#include <gpac/internal/ietf_dev.h>
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) |
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 |
#define OFFSET_HINT_GROUP_ID 0x8000 |
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_OnNewPacket | ( | void * | cbk, |
GF_RTPHeader * | header | ||
) |
|
static |
|
static |