libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/route.h>
#include <gpac/network.h>
#include <gpac/download.h>
#include <gpac/thread.h>
Data Structures | |
struct | TSI_Output |
struct | SegInfo |
struct | RouteRepairRange |
struct | RouteRepairServer |
struct | RouteRepairSession |
struct | ROUTEInCtx |
struct | RepairSegmentInfo |
Macros | |
#define | REPAIR_BUF_SIZE 50000 |
Enumerations | |
enum | { TSIO_FILE_PROGRESS = 1 , TSIO_REPAIR_SCHEDULED = (1<<1) } |
enum | { ROUTEIN_REPAIR_NO = 0 , ROUTEIN_REPAIR_SIMPLE , ROUTEIN_REPAIR_STRICT , ROUTEIN_REPAIR_FULL } |
enum | RouteServerRangeSupport { RANGE_SUPPORT_NO = 0 , RANGE_SUPPORT_PROBE , RANGE_SUPPORT_YES } |
Functions | |
void | routein_repair_mark_file (ROUTEInCtx *ctx, u32 service_id, const char *filename, Bool is_delete) |
void | routein_queue_repair (ROUTEInCtx *ctx, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo) |
void | routein_on_event_file (ROUTEInCtx *ctx, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo, Bool is_defer_repair, Bool drop_if_first) |
GF_Err | routein_do_repair (ROUTEInCtx *ctx) |
TSI_Output * | routein_get_tsio (ROUTEInCtx *ctx, u32 service_id, GF_ROUTEEventFileInfo *finfo) |
struct TSI_Output |
struct RouteRepairServer |
struct RouteRepairSession |
Data Fields | ||
---|---|---|
GF_DownloadSession * | dld | |
RepairSegmentInfo * | current_si | |
RouteRepairRange * | range | |
RouteRepairServer * | server | |
u32 | initial_retry | |
u32 | retry_in | |
char | http_buf[REPAIR_BUF_SIZE] |
struct ROUTEInCtx |
Data Fields | ||
---|---|---|
char * | src | |
char * | ifce | |
char * | odir | |
Bool | gcache | |
Bool | kc | |
Bool | skipr | |
Bool | reorder | |
Bool | fullseg | |
Bool | cloop | |
Bool | llmode | |
Bool | dynsel | |
u32 | buffer | |
u32 | timeout | |
u32 | stats | |
u32 | max_segs | |
u32 | tsidbg | |
u32 | rtimeout | |
u32 | nbcached | |
u32 | repair | |
u32 | max_sess | |
u32 | range_merge | |
u32 | minrecv | |
s32 | tunein | |
s32 | stsi | |
GF_PropStringList | repair_urls | |
GF_Filter * | filter | |
GF_DownloadManager * | dm | |
char * | clock_init_seg | |
GF_ROUTEDmx * | route_dmx | |
u32 | tune_service_id | |
u32 | sync_tsi | |
u32 | last_toi | |
u32 | start_time | |
u32 | tune_time | |
u32 | last_timeout | |
GF_FilterPid * | opid | |
GF_List * | tsi_outs | |
u32 | nb_stats | |
GF_List * | received_seg_names | |
u32 | nb_playing | |
Bool | initial_play_forced | |
Bool | evt_interrupt | |
RouteRepairSession * | http_repair_sessions | |
GF_List * | seg_repair_queue | |
GF_List * | seg_repair_reservoir | |
GF_List * | seg_range_reservoir | |
GF_List * | repair_servers | |
Bool | has_data | |
const char * | log_name |
struct _route_repair_seg_info |
Data Fields | ||
---|---|---|
GF_ROUTEEventFileInfo | finfo | |
char * | filename | |
GF_ROUTEEventType | evt | |
u32 | service_id | |
Bool | removed | |
u32 | pending | |
GF_List * | ranges | |
u32 | nb_errors | |
TSI_Output * | tsio | |
Bool | done | |
Bool | local_repair |
#define REPAIR_BUF_SIZE 50000 |
anonymous enum |
void routein_repair_mark_file | ( | ROUTEInCtx * | ctx, |
u32 | service_id, | ||
const char * | filename, | ||
Bool | is_delete | ||
) |
void routein_queue_repair | ( | ROUTEInCtx * | ctx, |
GF_ROUTEEventType | evt, | ||
u32 | evt_param, | ||
GF_ROUTEEventFileInfo * | finfo | ||
) |
void routein_on_event_file | ( | ROUTEInCtx * | ctx, |
GF_ROUTEEventType | evt, | ||
u32 | evt_param, | ||
GF_ROUTEEventFileInfo * | finfo, | ||
Bool | is_defer_repair, | ||
Bool | drop_if_first | ||
) |
GF_Err routein_do_repair | ( | ROUTEInCtx * | ctx | ) |
TSI_Output* routein_get_tsio | ( | ROUTEInCtx * | ctx, |
u32 | service_id, | ||
GF_ROUTEEventFileInfo * | finfo | ||
) |