VLC 4.0.0-dev
|
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 | |
static sap_address_t * | AddressCreate (vlc_object_t *obj, const char *group) |
static void | AddressDestroy (sap_address_t *addr) |
session_descriptor_t * | sout_AnnounceRegisterSDP (vlc_object_t *obj, const char *sdp, const char *dst) |
Registers a new session with the announce handler, using a pregenerated SDP. | |
void | sout_AnnounceUnRegister (vlc_object_t *obj, session_descriptor_t *session) |
Unregisters an existing session. | |
Variables | |
static struct vlc_list | sap_addrs = VLC_LIST_INITIALIZER(&sap_addrs) |
static vlc_mutex_t | sap_mutex = VLC_STATIC_MUTEX |
#define IPPORT_SAP 9875 |
#define MAX_INTERVAL 300 |
#define MIN_INTERVAL 2 |
#define SAP_MAX_BUFFER 65534 |
typedef struct sap_address_t sap_address_t |
|
static |
References sap_address_t::a, sap_address_t::fd, sap_address_t::group, sap_address_t::interval, IPPORT_SAP, net_Close, net_ConnectUDP(), sap_address_t::orig, sap_address_t::origlen, sap_address_t::session_count, sap_address_t::sessions, strlcpy(), var_CreateGetInteger(), vlc_cond_init(), vlc_list_init(), and sap_address_t::wait.
Referenced by sout_AnnounceRegisterSDP().
|
static |
References sap_address_t::fd, and net_Close.
Referenced by sout_AnnounceRegisterSDP(), and sout_AnnounceUnRegister().
|
static |
main SAP handler thread
self | the SAP Handler object |
References session_descriptor_t::data, sap_address_t::fd, sap_address_t::interval, session_descriptor_t::length, sap_mutex, sap_address_t::session_count, sap_address_t::sessions, vlc_cond_timedwait(), vlc_list_foreach, vlc_list_is_empty(), vlc_mutex_lock(), vlc_mutex_unlock(), vlc_thread_set_name(), vlc_tick_from_samples(), vlc_tick_now(), and sap_address_t::wait.
Referenced by sout_AnnounceRegisterSDP().
|
static |
Referenced by sout_AnnounceRegisterSDP().
|
static |
Referenced by RunThread(), sout_AnnounceRegisterSDP(), and sout_AnnounceUnRegister().