libgpac
Documentation of the core library of GPAC
route.h File Reference

Specific extensions for ROUTE (ATSC3, DVB-I) protocol. More...

#include <gpac/tools.h>
+ Include dependency graph for route.h:

Data Structures

struct  GF_LCTFragInfo
 
struct  GF_ROUTEEventFileInfo
 

Macros

#define GF_ATSC_MCAST_ADDR   "224.0.23.60"
 
#define GF_ATSC_MCAST_PORT   4937
 

Typedefs

typedef struct __gf_routedmx GF_ROUTEDmx
 

Enumerations

enum  GF_ROUTEEventType {
  GF_ROUTE_EVT_SERVICE_FOUND = 0 , GF_ROUTE_EVT_SERVICE_SCAN , GF_ROUTE_EVT_MPD , GF_ROUTE_EVT_HLS_VARIANT ,
  GF_ROUTE_EVT_FILE , GF_ROUTE_EVT_DYN_SEG , GF_ROUTE_EVT_DYN_SEG_FRAG , GF_ROUTE_EVT_FILE_DELETE ,
  GF_ROUTE_EVT_LATE_DATA
}
 
enum  {
  GF_LCT_EXT_NOP = 0 , GF_LCT_EXT_AUTH = 1 , GF_LCT_EXT_TIME = 2 , GF_LCT_EXT_FTI = 64 ,
  GF_LCT_EXT_FDT = 192 , GF_LCT_EXT_CENC = 193 , GF_LCT_EXT_TOL24 = 194 , GF_LCT_EXT_TOL48 = 67
}
 
enum  GF_LCTObjectPartial { GF_LCTO_PARTIAL_NONE =0 , GF_LCTO_PARTIAL_BEGIN , GF_LCTO_PARTIAL_ANY }
 
enum  GF_RouteProgressiveDispatch { GF_ROUTE_DISPATCH_FULL = 0 , GF_ROUTE_DISPATCH_PROGRESSIVE , GF_ROUTE_DISPATCH_OUT_OF_ORDER }
 

Functions

GF_ROUTEDmxgf_route_atsc_dmx_new (const char *ifce, u32 sock_buffer_size, void(*on_event)(void *udta, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo), void *udta)
 
GF_ROUTEDmxgf_route_atsc_dmx_new_ex (const char *ifce, u32 sock_buffer_size, const char *netcap_id, void(*on_event)(void *udta, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo), void *udta)
 
GF_ROUTEDmxgf_route_dmx_new (const char *ip, u32 port, const char *ifce, u32 sock_buffer_size, void(*on_event)(void *udta, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo), void *udta)
 
GF_ROUTEDmxgf_route_dmx_new_ex (const char *ip, u32 port, const char *ifce, u32 sock_buffer_size, const char *netcap_id, void(*on_event)(void *udta, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo), void *udta)
 
GF_ROUTEDmxgf_dvb_mabr_dmx_new (const char *ip, u32 port, const char *ifce, u32 sock_buffer_size, const char *netcap_id, void(*on_event)(void *udta, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo), void *udta)
 
void gf_route_dmx_del (GF_ROUTEDmx *routedmx)
 
GF_Err gf_route_dmx_process (GF_ROUTEDmx *routedmx)
 
GF_Err gf_route_dmx_set_reorder (GF_ROUTEDmx *routedmx, Bool reorder_needed, u32 timeout_us)
 
GF_Err gf_route_set_dispatch_mode (GF_ROUTEDmx *routedmx, GF_RouteProgressiveDispatch dispatch_mode)
 
GF_Err gf_route_atsc3_tune_in (GF_ROUTEDmx *routedmx, u32 service_id, Bool tune_others)
 
u32 gf_route_dmx_get_object_count (GF_ROUTEDmx *routedmx, u32 service_id)
 
GF_Err gf_route_dmx_remove_object_by_name (GF_ROUTEDmx *routedmx, u32 service_id, char *fileName, Bool purge_previous)
 
GF_Err gf_route_dmx_force_keep_object_by_name (GF_ROUTEDmx *routedmx, u32 service_id, char *fileName)
 
Bool gf_route_dmx_remove_first_object (GF_ROUTEDmx *routedmx, u32 service_id)
 
Bool gf_route_dmx_find_atsc3_service (GF_ROUTEDmx *routedmx, u32 service_id)
 
void gf_route_dmx_purge_objects (GF_ROUTEDmx *routedmx, u32 service_id)
 
u64 gf_route_dmx_get_first_packet_time (GF_ROUTEDmx *routedmx)
 
u64 gf_route_dmx_get_last_packet_time (GF_ROUTEDmx *routedmx)
 
u64 gf_route_dmx_get_nb_packets (GF_ROUTEDmx *routedmx)
 
u64 gf_route_dmx_get_recv_bytes (GF_ROUTEDmx *routedmx)
 
void gf_route_dmx_debug_tsi (GF_ROUTEDmx *routedmx, u32 tsi)
 
void gf_route_dmx_set_service_udta (GF_ROUTEDmx *routedmx, u32 service_id, void *udta)
 
void * gf_route_dmx_get_service_udta (GF_ROUTEDmx *routedmx, u32 service_id)
 
GF_Err gf_route_dmx_patch_frag_info (GF_ROUTEDmx *routedmx, u32 service_id, GF_ROUTEEventFileInfo *finfo, u32 br_start, u32 br_end)
 
GF_Err gf_route_dmx_mark_active_quality (GF_ROUTEDmx *routedmx, u32 service_id, const char *period_id, s32 as_id, const char *rep_id, Bool is_selected)
 
void gf_route_dmx_reset_all (GF_ROUTEDmx *routedmx)
 

Detailed Description

>