
| #define HOST_LONGTEXT |
Value:
N_( \ "This defines the address, port and path the RTSP VOD server will listen " \ "on.\nSyntax is address:port/path. The default is to listen on all "\ "interfaces (address 0.0.0.0), on port 554, with no path.\nTo listen " \ "only on the local interface, use \"localhost\" as address." )
| #define HOST_TEXT N_( "RTSP host address" ) |
| #define RAWMUX_TEXT N_( "MUX for RAW RTSP transport" ) |
| #define SESSION_TIMEOUT_LONGTEXT |
Value:
N_( "Defines what timeout option to add " \ "to the RTSP session ID string. Setting it to a negative number removes " \ "the timeout option entirely. This is needed by some IPTV STBs (such as " \ "those made by HansunTech) which get confused by it. The default is 5." )
| #define SESSION_TIMEOUT_TEXT |
Value:
N_( "Sets the timeout option in the RTSP " \ "session string" )
| #define THROTTLE_LONGTEXT |
Value:
N_( "This limits the maximum number of clients " \ "that can connect to the RTSP VOD. 0 means no limit." )
| #define THROTTLE_TEXT N_( "Maximum number of connections" ) |
| typedef struct media_es_t media_es_t |
| enum rtsp_cmd_type_t |
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static void CommandPush | ( | vod_t * | p_vod, | |
| rtsp_cmd_type_t | i_type, | |||
| vod_media_t * | p_media, | |||
| const char * | psz_session, | |||
| double | f_arg, | |||
| const char * | psz_arg | |||
| ) | [static] |
References block_FifoPut(), block_New, rtsp_cmd_t::f_arg, rtsp_cmd_t::i_media_id, rtsp_cmd_t::i_type, vod_media_t::id, block_t::p_buffer, vod_sys_t::p_fifo_cmd, rtsp_cmd_t::p_media, vod_t::p_sys, rtsp_cmd_t::psz_arg, rtsp_cmd_t::psz_session, and strdup().
Referenced by MediaAskDel(), MediaNew(), RtspCallback(), and RtspCallbackES().
| static void * CommandThread | ( | vlc_object_t * | p_this | ) | [static] |
References block_FifoGet(), block_Release(), rtsp_cmd_t::f_arg, i, vod_sys_t::i_media, rtsp_cmd_t::i_media_id, rtsp_cmd_t::i_type, vod_media_t::id, vod_sys_t::media, MediaDel(), next(), block_t::p_buffer, vod_sys_t::p_fifo_cmd, rtsp_cmd_t::p_media, vod_t::p_sys, rtsp_cmd_t::psz_arg, rtsp_cmd_t::psz_session, RTSP_CMD_TYPE_ADD, RTSP_CMD_TYPE_DEL, RTSP_CMD_TYPE_FORWARD, RTSP_CMD_TYPE_NONE, RTSP_CMD_TYPE_PAUSE, RTSP_CMD_TYPE_PLAY, RTSP_CMD_TYPE_REWIND, RTSP_CMD_TYPE_SEEK, RTSP_CMD_TYPE_STOP, TAB_APPEND, vlc_object_alive, vlc_restorecancel(), vlc_savecancel(), VOD_MEDIA_FORWARD, VOD_MEDIA_PAUSE, VOD_MEDIA_PLAY, VOD_MEDIA_REWIND, VOD_MEDIA_SEEK, VOD_MEDIA_STOP, and vod_MediaControl().
| static int MediaAddES | ( | vod_t * | p_vod, | |
| vod_media_t * | p_media, | |||
| es_format_t * | p_fmt | |||
| ) | [static] |
References asprintf(), es_format_t::audio, vod_media_t::es, es_format_Copy(), HTTPD_MSG_PAUSE, HTTPD_MSG_PLAY, HTTPD_MSG_SETUP, HTTPD_MSG_TEARDOWN, httpd_UrlCatch(), httpd_UrlNewUnique(), audio_format_t::i_channels, media_es_t::i_channels, media_es_t::i_clock_rate, es_format_t::i_codec, vod_media_t::i_es, es_format_t::i_extra, media_es_t::i_payload_type, vod_media_t::i_payload_type, audio_format_t::i_rate, vod_media_t::lock, msg_Dbg, msg_Err, es_format_t::p_extra, vod_sys_t::p_rtsp_host, media_es_t::p_rtsp_url, vod_t::p_sys, media_es_t::psz_fmtp, vod_media_t::psz_mux, media_es_t::psz_ptname, vod_media_t::psz_rtsp_path, RtspCallbackES(), sprintf_hexa(), strdup(), TAB_APPEND, vlc_b64_encode_binary(), VLC_CODEC_A52, VLC_CODEC_AMR_NB, VLC_CODEC_AMR_WB, VLC_CODEC_H263, VLC_CODEC_H264, VLC_CODEC_MP4A, VLC_CODEC_MP4V, VLC_CODEC_MPGA, VLC_CODEC_MPGV, VLC_CODEC_S16B, VLC_CODEC_U8, VLC_EGENERIC, VLC_ENOMEM, VLC_FOURCC, vlc_mutex_lock(), vlc_mutex_unlock(), and VLC_SUCCESS.
Referenced by MediaNew().
| static void MediaAskDel | ( | vod_t * | p_vod, | |
| vod_media_t * | p_media | |||
| ) | [static] |
References CommandPush(), and RTSP_CMD_TYPE_DEL.
| static void MediaDel | ( | vod_t * | p_vod, | |
| vod_media_t * | p_media | |||
| ) | [static] |
References vod_media_t::es, media_es_t::fmt, httpd_UrlDelete(), vod_media_t::i_es, vod_sys_t::i_media, vod_media_t::i_rtsp, vod_media_t::lock, vod_sys_t::media, MediaDelES(), msg_Dbg, vod_media_t::p_rtsp_url, vod_t::p_sys, vod_media_t::psz_rtsp_control_v4, vod_media_t::psz_rtsp_control_v6, vod_media_t::psz_rtsp_path, vod_media_t::rtsp, RtspClientDel(), TAB_CLEAN, TAB_REMOVE, and vlc_mutex_destroy().
Referenced by CommandThread().
| static void MediaDelES | ( | vod_t * | p_vod, | |
| vod_media_t * | p_media, | |||
| es_format_t * | p_fmt | |||
| ) | [static] |
References vod_media_t::es, es_format_Clean(), media_es_t::fmt, httpd_UrlDelete(), i, es_format_t::i_cat, es_format_t::i_codec, vod_media_t::i_es, es_format_t::i_id, vod_media_t::lock, msg_Dbg, media_es_t::p_rtsp_url, media_es_t::psz_fmtp, TAB_REMOVE, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by MediaDel().
| static vod_media_t * MediaNew | ( | vod_t * | p_vod, | |
| const char * | psz_name, | |||
| input_item_t * | p_item | |||
| ) | [static] |
References asprintf(), vod_media_t::b_raw, CommandPush(), input_item_t::es, vod_media_t::es, HTTPD_MSG_DESCRIBE, HTTPD_MSG_GETPARAMETER, HTTPD_MSG_PAUSE, HTTPD_MSG_PLAY, HTTPD_MSG_SETUP, HTTPD_MSG_TEARDOWN, httpd_UrlCatch(), httpd_UrlDelete(), httpd_UrlNewUnique(), i, input_item_t::i_es, vod_media_t::i_es, vod_sys_t::i_media_id, vod_sys_t::i_port, vod_media_t::i_rtsp, vod_media_t::id, input_item_GetDuration(), input_item_t::lock, MediaAddES(), msg_Dbg, msg_Err, vod_sys_t::p_rtsp_host, vod_media_t::p_rtsp_url, vod_t::p_sys, vod_media_t::psz_mux, vod_sys_t::psz_path, vod_media_t::psz_rtsp_control_v4, vod_media_t::psz_rtsp_control_v6, vod_media_t::psz_rtsp_path, vod_media_t::rtsp, RTSP_CMD_TYPE_ADD, RtspCallback(), TAB_INIT, vlc_mutex_init(), vlc_mutex_lock(), and vlc_mutex_unlock().
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Status of this demuxer: Real Media format -----------------.
Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.
Todo:
Open the module.
Create an X11 window.
Probe the X server.
This function initializes SDL vout method.
It creates an OpenGL vout display.
This function allocates and initialize the DirectX vout display.
It creates a Direct3D vout display.
This function allocates and initializes a FB vout method.
Find the drawable set by libvlc application.
This function initializes libcaca vout method.
This function allocates and initializes a aa vout method.
This function allocates and initializes a Wall splitter module.
Open the filter.
This function allocates and initializes a Clone splitter module.
Open: initialize and create stuff.
Connect to the sftp server and ask for a file.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
| static float ParseNPT | ( | const char * | str | ) | [static] |
References freelocale(), LC_NUMERIC_MASK, newlocale(), and uselocale().
Referenced by RtspCallback(), and RtspCallbackES().
| static int RtspCallback | ( | httpd_callback_sys_t * | p_args, | |
| httpd_client_t * | cl, | |||
| httpd_message_t * | answer, | |||
| const httpd_message_t * | query | |||
| ) | [static] |
References asprintf(), AUDIO_ES, rtsp_client_t::b_paused, rtsp_client_t::b_playing, vod_media_t::b_raw, CLOCK_FREQ, CommandPush(), rtsp_client_t::es, media_es_t::fmt, httpd_ClientIP(), HTTPD_MSG_ANSWER, HTTPD_MSG_DESCRIBE, HTTPD_MSG_GETPARAMETER, HTTPD_MSG_PAUSE, HTTPD_MSG_PLAY, HTTPD_MSG_SETUP, HTTPD_MSG_TEARDOWN, httpd_MsgAdd(), httpd_MsgGet(), HTTPD_PROTO_RTSP, i, httpd_message_t::i_body, es_format_t::i_cat, vod_sys_t::i_connections, rtsp_client_t::i_es, vod_media_t::i_length, rtsp_client_es_t::i_port, httpd_message_t::i_proto, vod_sys_t::i_session_timeout, httpd_message_t::i_status, vod_sys_t::i_throttle_users, httpd_message_t::i_type, httpd_message_t::i_version, msg_Dbg, NI_MAXNUMERICHOST, httpd_message_t::p_body, rtsp_client_es_t::p_media_es, vod_t::p_sys, vod_media_t::p_vod, ParseNPT(), vod_media_t::psz_mux, vod_sys_t::psz_raw_mux, RTSP_CMD_TYPE_FORWARD, RTSP_CMD_TYPE_PAUSE, RTSP_CMD_TYPE_PLAY, RTSP_CMD_TYPE_REWIND, RTSP_CMD_TYPE_SEEK, RTSP_CMD_TYPE_STOP, RtspClientDel(), RtspClientGet(), RtspClientNew(), SDPGenerate(), us_strtod(), VIDEO_ES, VLC_EGENERIC, VLC_ENOMEM, vlc_mrand48(), and VLC_SUCCESS.
Referenced by MediaNew(), and RtspSetup().
| static int RtspCallbackES | ( | httpd_callback_sys_t * | p_args, | |
| httpd_client_t * | cl, | |||
| httpd_message_t * | answer, | |||
| const httpd_message_t * | query | |||
| ) | [static] |
References asprintf(), rtsp_client_t::b_paused, vod_media_t::b_raw, CLOCK_FREQ, CommandPush(), rtsp_client_t::es, httpd_ClientIP(), HTTPD_MSG_ANSWER, HTTPD_MSG_PAUSE, HTTPD_MSG_PLAY, HTTPD_MSG_SETUP, HTTPD_MSG_TEARDOWN, httpd_MsgAdd(), httpd_MsgGet(), HTTPD_PROTO_RTSP, i, httpd_message_t::i_body, vod_sys_t::i_connections, rtsp_client_t::i_es, vod_media_t::i_length, rtsp_client_es_t::i_port, httpd_message_t::i_proto, httpd_message_t::i_status, vod_sys_t::i_throttle_users, httpd_message_t::i_type, httpd_message_t::i_version, msg_Dbg, NI_MAXNUMERICHOST, httpd_message_t::p_body, media_es_t::p_media, rtsp_client_es_t::p_media_es, vod_t::p_sys, vod_media_t::p_vod, ParseNPT(), RTSP_CMD_TYPE_PAUSE, RTSP_CMD_TYPE_SEEK, RTSP_CMD_TYPE_STOP, RtspClientDel(), RtspClientGet(), RtspClientNew(), TAB_APPEND, TAB_REMOVE, VLC_EGENERIC, VLC_ENOMEM, vlc_mrand48(), and VLC_SUCCESS.
Referenced by MediaAddES().
| static void RtspClientDel | ( | vod_media_t * | p_media, | |
| rtsp_client_t * | p_rtsp | |||
| ) | [static] |
References rtsp_client_t::es, vod_sys_t::i_connections, rtsp_client_t::i_es, vod_media_t::i_rtsp, vod_sys_t::i_throttle_users, msg_Dbg, vod_t::p_sys, vod_media_t::p_vod, rtsp_client_t::psz_session, vod_media_t::rtsp, and TAB_REMOVE.
Referenced by MediaDel(), RtspCallback(), RtspCallbackES(), RtspHandler(), and RtspUnsetup().
| static rtsp_client_t * RtspClientGet | ( | vod_media_t * | p_media, | |
| const char * | psz_session | |||
| ) | [static] |
References i, vod_media_t::i_rtsp, rtsp_client_t::psz_session, and vod_media_t::rtsp.
Referenced by RtspCallback(), RtspCallbackES(), and RtspHandler().
| static rtsp_client_t * RtspClientNew | ( | vod_media_t * | p_media, | |
| char * | psz_session | |||
| ) | [static] |
References rtsp_client_t::es, vod_sys_t::i_connections, vod_media_t::i_rtsp, vod_sys_t::i_throttle_users, msg_Dbg, vod_t::p_sys, vod_media_t::p_vod, rtsp_client_t::psz_session, vod_media_t::rtsp, and TAB_APPEND.
Referenced by RtspCallback(), RtspCallbackES(), and RtspHandler().
| static char * SDPGenerate | ( | const vod_media_t * | p_media, | |
| httpd_client_t * | cl | |||
| ) | [static] |
References AUDIO_ES, vod_media_t::es, media_es_t::fmt, httpd_ServerIP(), i, es_format_t::i_cat, media_es_t::i_channels, media_es_t::i_clock_rate, vod_media_t::i_es, vod_media_t::i_length, media_es_t::i_payload_type, lldiv(), NI_MAXNUMERICHOST, media_es_t::psz_fmtp, media_es_t::psz_ptname, vod_media_t::psz_rtsp_control_v4, vod_media_t::psz_rtsp_control_v6, sdp_AddAttribute(), sdp_AddMedia(), SPU_ES, VIDEO_ES, and vlc_sdp_Start().
Referenced by Add(), RtspCallback(), and RtspHandler().
| static void sprintf_hexa | ( | char * | s, | |
| uint8_t * | p_data, | |||
| int | i_data | |||
| ) | [static] |
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6