|
VLC
2.1.0-git
|

Functions | |
| static void | sap_destroy (vlc_object_t *p_this) |
| session_descriptor_t * | sout_AnnounceRegisterSDP (((vlc_object_t *)(vlc_object_t *obj)), const char *psz_sdp, const char *psz_dst) |
| Registers a new session with the announce handler, using a pregenerated SDP. | |
| int | sout_AnnounceUnRegister (((vlc_object_t *)(vlc_object_t *obj)), session_descriptor_t *p_session) |
| Unregisters an existing session. | |
Variables | |
| static vlc_mutex_t | sap_mutex = PTHREAD_MUTEX_INITIALIZER |
|
static |
References libvlc_priv(), and vlc_object_t::p_libvlc.
Referenced by sout_AnnounceRegisterSDP().
| session_descriptor_t* sout_AnnounceRegisterSDP | ( | ((vlc_object_t *)(vlc_object_t *obj)) | , |
| const char * | psz_sdp, | ||
| const char * | psz_dst | ||
| ) |
Registers a new session with the announce handler, using a pregenerated SDP.
| obj | a VLC object |
| psz_sdp | the SDP to register |
| psz_dst | session address (needed for SAP address auto detection) |
References session_descriptor_t::addr, session_descriptor_t::addrlen, freeaddrinfo(), libvlc_priv(), msg_Dbg, vlc_object_t::p_libvlc, session_descriptor_t::psz_sdp, SAP_Add(), SAP_Create(), sap_destroy(), sap_mutex, strdup(), vlc_getaddrinfo(), vlc_mutex_lock(), vlc_mutex_unlock(), VLC_OBJECT, vlc_object_hold, vlc_object_release, and vlc_object_set_destructor.
| int sout_AnnounceUnRegister | ( | ((vlc_object_t *)(vlc_object_t *obj)) | , |
| session_descriptor_t * | p_session | ||
| ) |
Unregisters an existing session.
| obj | a VLC object |
| p_session | the session descriptor |
References libvlc_priv(), msg_Dbg, vlc_object_t::p_libvlc, session_descriptor_t::psz_sdp, SAP_Del(), sap_mutex, vlc_mutex_lock(), vlc_mutex_unlock(), and vlc_object_release.
|
static |
Referenced by sout_AnnounceRegisterSDP(), and sout_AnnounceUnRegister().
1.8.1.2