VLC 4.0.0-dev
sap.c File Reference
Include dependency graph for sap.c:

Data Structures

struct  session_descriptor_t
 
struct  sap_address_t
 

Macros

#define IPPORT_SAP   9875
 
#define SAP_MAX_BUFFER   65534
 
#define MIN_INTERVAL   2
 
#define MAX_INTERVAL   300
 

Typedefs

typedef struct sap_address_t sap_address_t
 

Functions

static void * RunThread (void *self)
 main SAP handler thread More...
 
static sap_address_tAddressCreate (vlc_object_t *obj, const char *group)
 
static void AddressDestroy (sap_address_t *addr)
 
session_descriptor_tsout_AnnounceRegisterSDP (vlc_object_t *obj, const char *sdp, const char *dst)
 Registers a new session with the announce handler, using a pregenerated SDP. More...
 
void sout_AnnounceUnRegister (vlc_object_t *obj, session_descriptor_t *session)
 Unregisters an existing session. More...
 

Variables

static struct vlc_list sap_addrs = VLC_LIST_INITIALIZER(&sap_addrs)
 
static vlc_mutex_t sap_mutex = VLC_STATIC_MUTEX
 

Macro Definition Documentation

◆ IPPORT_SAP

#define IPPORT_SAP   9875

◆ MAX_INTERVAL

#define MAX_INTERVAL   300

◆ MIN_INTERVAL

#define MIN_INTERVAL   2

◆ SAP_MAX_BUFFER

#define SAP_MAX_BUFFER   65534

Typedef Documentation

◆ sap_address_t

typedef struct sap_address_t sap_address_t

Function Documentation

◆ AddressCreate()

◆ AddressDestroy()

static void AddressDestroy ( sap_address_t addr)
static

◆ RunThread()

Variable Documentation

◆ sap_addrs

struct vlc_list sap_addrs = VLC_LIST_INITIALIZER(&sap_addrs)
static

◆ sap_mutex