libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/network.h>
#include <gpac/internal/ietf_dev.h>
Data Structures | |
struct | GF_SockInClient |
struct | GF_SockInCtx |
Macros | |
#define | OFFS(_n) #_n, offsetof(GF_SockInCtx, _n) |
Functions | |
static GF_Err | sockin_initialize (GF_Filter *filter) |
static void | sockin_client_reset (GF_SockInClient *sc) |
static void | sockin_finalize (GF_Filter *filter) |
static GF_FilterProbeScore | sockin_probe_url (const char *url, const char *mime_type) |
static void | sockin_rtp_destructor (GF_Filter *filter, GF_FilterPid *pid, GF_FilterPacket *pck) |
static Bool | sockin_process_event (GF_Filter *filter, const GF_FilterEvent *evt) |
static GF_Err | sockin_read_client (GF_Filter *filter, GF_SockInCtx *ctx, GF_SockInClient *sock_c) |
static GF_Err | sockin_check_eos (GF_Filter *filter, GF_SockInCtx *ctx) |
static GF_Err | sockin_process (GF_Filter *filter) |
const GF_FilterRegister * | sockin_register (GF_FilterSession *session) |
Variables | |
static const GF_FilterArgs | SockInArgs [] |
static const GF_FilterCapability | SockInCaps [] |
GF_FilterRegister | SockInRegister |
struct GF_SockInClient |
Data Fields | ||
---|---|---|
GF_FilterPid * | pid | |
GF_Socket * | socket | |
Bool | pck_out | |
GF_RTPReorder * | rtp_reorder | |
char | address[GF_MAX_IP_NAME_LEN] | |
u32 | init_time | |
Bool | done | |
Bool | first_pck | |
u64 | nb_bytes | |
u64 | start_time | |
u64 | last_stats_time |
struct GF_SockInCtx |
Data Fields | ||
---|---|---|
const char * | src | |
u32 | block_size | |
u32 | port | |
u32 | maxc | |
char * | ifce | |
const char * | ext | |
const char * | mime | |
Bool | tsprobe | |
Bool | listen | |
Bool | ka | |
Bool | block | |
u32 | timeout | |
u32 | reorder_pck | |
u32 | reorder_delay | |
GF_PropStringList | ssm | |
GF_PropStringList | ssmx | |
GF_SockInClient | sock_c | |
GF_List * | clients | |
Bool | had_clients | |
Bool | is_udp | |
Bool | is_stop | |
char * | buffer | |
GF_SockGroup * | active_sockets | |
u32 | last_rcv_time | |
u32 | last_timeout_sec |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_SockInCtx, _n) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const GF_FilterRegister* sockin_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister SockInRegister |