VLC
3.0.15
|
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 noreturn void * | RunThread (void *self) |
main SAP handler thread More... | |
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. More... | |
void | sout_AnnounceUnRegister (vlc_object_t *obj, session_descriptor_t *session) |
Unregisters an existing session. More... | |
Variables | |
static sap_address_t * | sap_addrs = NULL |
static vlc_mutex_t | sap_mutex = PTHREAD_MUTEX_INITIALIZER |
#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::fd, sap_address_t::first, sap_address_t::group, sap_address_t::interval, IPPORT_SAP, sap_address_t::lock, msg_Err, net_Close, net_ConnectUDP(), sap_address_t::orig, sap_address_t::origlen, RunThread(), sap_address_t::session_count, strlcpy(), sap_address_t::thread, var_CreateGetInteger, vlc_clone(), vlc_cond_init(), vlc_mutex_init(), VLC_THREAD_PRIORITY_LOW, and sap_address_t::wait.
Referenced by sout_AnnounceRegisterSDP().
|
static |
References sap_address_t::fd, sap_address_t::first, sap_address_t::lock, net_Close, sap_address_t::thread, vlc_cancel(), vlc_cond_destroy(), vlc_join(), vlc_mutex_destroy(), and sap_address_t::wait.
Referenced by sout_AnnounceUnRegister().
|
static |
main SAP handler thread
p_this | the SAP Handler object |
References CLOCK_FREQ, session_descriptor_t::data, sap_address_t::fd, sap_address_t::first, sap_address_t::interval, session_descriptor_t::length, sap_address_t::lock, mdate(), mutex_cleanup_push, session_descriptor_t::next, sap_address_t::session_count, vlc_assert_unreachable, vlc_cleanup_pop, vlc_cond_timedwait(), vlc_cond_wait(), vlc_mutex_lock(), and sap_address_t::wait.
Referenced by AddressCreate().
|
static |
Referenced by sout_AnnounceRegisterSDP(), and sout_AnnounceUnRegister().
|
static |
Referenced by sout_AnnounceRegisterSDP(), and sout_AnnounceUnRegister().