VLC 4.0.0-dev
|
Real-Time Protocol (RTP) demux module for VLC media player. More...
Data Structures | |
struct | vlc_rtp_es_id |
struct | vlc_rtp_es_mux |
Macros | |
#define | IPPROTO_DCCP 33 /* IANA */ |
#define | IPPROTO_UDPLITE 136 /* from IANA */ |
#define | RTCP_PORT_TEXT N_("RTCP (local) port") |
#define | RTCP_PORT_LONGTEXT |
#define | SRTP_KEY_TEXT N_("SRTP key (hexadecimal)") |
#define | SRTP_KEY_LONGTEXT |
#define | SRTP_SALT_TEXT N_("SRTP salt (hexadecimal)") |
#define | SRTP_SALT_LONGTEXT |
#define | RTP_MAX_SRC_TEXT N_("Maximum RTP sources") |
#define | RTP_MAX_SRC_LONGTEXT |
#define | RTP_TIMEOUT_TEXT N_("RTP source timeout (sec)") |
#define | RTP_TIMEOUT_LONGTEXT |
#define | RTP_MAX_DROPOUT_TEXT N_("Maximum RTP sequence number dropout") |
#define | RTP_MAX_DROPOUT_LONGTEXT |
#define | RTP_MAX_MISORDER_TEXT N_("Maximum RTP sequence number misordering") |
#define | RTP_MAX_MISORDER_LONGTEXT |
Functions | |
static void | vlc_rtp_es_id_destroy (struct vlc_rtp_es *es) |
static void | vlc_rtp_es_id_send (struct vlc_rtp_es *es, block_t *block) |
static struct vlc_rtp_es * | vlc_rtp_es_request (struct vlc_rtp_pt *pt, const es_format_t *restrict fmt) |
static void | vlc_rtp_es_mux_destroy (struct vlc_rtp_es *es) |
static void | vlc_rtp_es_mux_send (struct vlc_rtp_es *es, block_t *block) |
static struct vlc_rtp_es * | vlc_rtp_mux_request (struct vlc_rtp_pt *pt, const char *name) |
int | vlc_rtp_pt_instantiate (vlc_object_t *obj, struct vlc_rtp_pt *restrict pt, const struct vlc_sdp_pt *restrict desc) |
static int | extract_port (char **phost) |
Extracts port number from "[host]:port" or "host:port" strings, and remove brackets from the host name. More... | |
static int | Control (demux_t *demux, int query, va_list args) |
Control callback. More... | |
static void | Close (vlc_object_t *obj) |
Releases resources. More... | |
static int | OpenSDP (vlc_object_t *obj) |
static int | OpenURL (vlc_object_t *obj) |
Probes and initializes. More... | |
int | vlc_entry__MODULE_NAME (vlc_set_cb vlc_set, void *opaque) |
const char * | vlc_entry_api_version__MODULE_NAME (void) |
Variables | |
static const struct vlc_rtp_es_operations | vlc_rtp_es_id_ops |
static const struct vlc_rtp_es_operations | vlc_rtp_es_mux_ops |
static const struct vlc_rtp_pt_owner_operations | vlc_rtp_pt_owner_ops |
Real-Time Protocol (RTP) demux module for VLC media player.
#define IPPROTO_DCCP 33 /* IANA */ |
#define IPPROTO_UDPLITE 136 /* from IANA */ |
#define RTCP_PORT_LONGTEXT |
#define RTCP_PORT_TEXT N_("RTCP (local) port") |
#define RTP_MAX_DROPOUT_LONGTEXT |
#define RTP_MAX_DROPOUT_TEXT N_("Maximum RTP sequence number dropout") |
#define RTP_MAX_MISORDER_LONGTEXT |
#define RTP_MAX_MISORDER_TEXT N_("Maximum RTP sequence number misordering") |
#define RTP_MAX_SRC_LONGTEXT |
#define RTP_MAX_SRC_TEXT N_("Maximum RTP sources") |
#define RTP_TIMEOUT_LONGTEXT |
#define RTP_TIMEOUT_TEXT N_("RTP source timeout (sec)") |
#define SRTP_KEY_LONGTEXT |
#define SRTP_KEY_TEXT N_("SRTP key (hexadecimal)") |
#define SRTP_SALT_LONGTEXT |
#define SRTP_SALT_TEXT N_("SRTP salt (hexadecimal)") |
|
static |
Releases resources.
References vlc_object_t::logger, stream_t::p_sys, rtp_sys_t::rtcp_sock, rtp_session_destroy(), rtp_sys_t::rtp_sock, rtp_sys_t::session, srtp_destroy(), rtp_sys_t::thread, vlc_cancel(), vlc_dtls_Close(), and vlc_join().
|
static |
Control callback.
References rtp_sys_t::chained_demux, DEMUX_CAN_CONTROL_PACE, DEMUX_CAN_PAUSE, DEMUX_CAN_SEEK, DEMUX_GET_LENGTH, DEMUX_GET_POSITION, DEMUX_GET_PTS_DELAY, DEMUX_GET_TIME, stream_t::p_sys, var_InheritInteger(), vlc_demux_chained_ControlVa(), VLC_EGENERIC, VLC_SUCCESS, and VLC_TICK_FROM_MS.
|
static |
Extracts port number from "[host]:port" or "host:port" strings, and remove brackets from the host name.
phost | pointer to the string upon entry, pointer to the hostname upon return. |
Referenced by OpenURL().
|
static |
References vlc_sdp_conn::addr, rtp_sys_t::chained_demux, vlc_sdp::conn, vlc_sdp_media::conns, Control(), vlc_object_t::logger, rtp_sys_t::logger, rtp_sys_t::max_dropout, rtp_sys_t::max_misorder, rtp_sys_t::max_src, vlc_sdp::media, module_exists(), msg_Dbg, msg_Err, net_Close, net_OpenDgram, vlc_sdp_conn::next, vlc_sdp_media::next, stream_t::out, stream_t::p_sys, stream_t::pf_control, stream_t::pf_demux, vlc_sdp_media::port, vlc_sdp_media::proto, rtp_sys_t::rtcp_sock, rtp_dgram_thread(), rtp_session_create(), rtp_session_destroy(), rtp_sys_t::rtp_sock, stream_t::s, rtp_sys_t::session, rtp_sys_t::thread, rtp_sys_t::timeout, unlikely, var_InheritInteger(), vlc_clone(), vlc_datagram_CreateFD(), vlc_dtls_Close(), VLC_EGENERIC, VLC_ENOMEM, vlc_obj_malloc, vlc_rtp_add_media_types(), vlc_rtp_pt_owner_ops, vlc_sdp_attr_value(), vlc_sdp_free(), vlc_sdp_media_attr_present(), vlc_sdp_media_attr_value(), vlc_sdp_parse(), vlc_stream_GetSize(), vlc_stream_Peek(), VLC_SUCCESS, and vlc_tick_from_sec.
|
static |
Probes and initializes.
References rtp_sys_t::chained_demux, Control(), extract_port(), IPPROTO_DCCP, IPPROTO_UDPLITE, vlc_object_t::logger, rtp_sys_t::logger, rtp_sys_t::max_dropout, rtp_sys_t::max_misorder, rtp_sys_t::max_src, msg_Err, net_Close, net_Connect, net_OpenDgram, net_SetCSCov(), stream_t::out, stream_t::p_sys, stream_t::pf_control, stream_t::pf_demux, stream_t::psz_location, stream_t::psz_name, rtp_sys_t::rtcp_sock, rtp_autodetect(), rtp_dgram_thread(), rtp_session_create(), rtp_session_destroy(), rtp_sys_t::rtp_sock, rtp_sys_t::session, SRTP_AUTH_HMAC_SHA1, srtp_create(), srtp_destroy(), SRTP_ENCR_AES_CM, SRTP_PRF_AES_CM, SRTP_RCC_MODE1, srtp_setkeystring(), strcasecmp(), strdup(), rtp_sys_t::thread, rtp_sys_t::timeout, unlikely, var_Create(), var_CreateGetInteger(), var_CreateGetNonEmptyString(), var_SetString(), vlc_clone(), vlc_datagram_CreateFD(), vlc_dccp_CreateFD(), vlc_dtls_Close(), VLC_EGENERIC, VLC_ENOMEM, vlc_gcrypt_init(), vlc_obj_malloc, VLC_OBJECT, vlc_rtp_pt_owner_ops, vlc_strerror_c(), VLC_SUCCESS, vlc_tick_from_sec, and VLC_VAR_STRING.
int vlc_entry__MODULE_NAME | ( | vlc_set_cb | vlc_set, |
void * | opaque | ||
) |
const char * vlc_entry_api_version__MODULE_NAME | ( | void | ) |
|
static |
References container_of, vlc_rtp_es_id::es, es_out_Del(), vlc_rtp_es_id::id, and vlc_rtp_es_id::out.
|
static |
|
static |
References vlc_rtp_es_mux::chained_demux, container_of, vlc_rtp_es_mux::es, and vlc_demux_chained_Delete().
|
static |
References vlc_rtp_es_mux::chained_demux, container_of, vlc_rtp_es_mux::es, and vlc_demux_chained_Send().
|
static |
|
static |
|
static |
Referenced by vlc_rtp_es_request().
|
static |
Referenced by vlc_rtp_mux_request().
|
static |