|
xine-lib
1.2.10
|
#include <xine/xine_internal.h>Go to the source code of this file.
Macros | |
| #define | RTSP_STATUS_SET_PARAMETER 10 |
| #define | RTSP_STATUS_OK 200 |
Typedefs | |
| typedef struct rtsp_s | rtsp_t |
Functions | |
| rtsp_t * | rtsp_connect (xine_stream_t *stream, const char *mrl, const char *user_agent) |
| int | rtsp_request_options (rtsp_t *s, const char *what) |
| int | rtsp_request_describe (rtsp_t *s, const char *what) |
| int | rtsp_request_setup (rtsp_t *s, const char *what) |
| int | rtsp_request_setparameter (rtsp_t *s, const char *what) |
| int | rtsp_request_play (rtsp_t *s, const char *what) |
| int | rtsp_send_ok (rtsp_t *s) |
| int | rtsp_read_data (rtsp_t *s, void *buffer, unsigned int size) |
| const char * | rtsp_search_answers (rtsp_t *s, const char *tag) |
| void | rtsp_add_to_payload (char **payload, const char *string) |
| void | rtsp_free_answers (rtsp_t *this) |
| int | rtsp_read (rtsp_t *this, char *data, int len) |
| void | rtsp_close (rtsp_t *this) |
| char * | rtsp_get_mrl (rtsp_t *s) |
| void | rtsp_schedule_field (rtsp_t *s, const char *string) |
| void | rtsp_unschedule_all (rtsp_t *s) |
| #define RTSP_STATUS_OK 200 |
| #define RTSP_STATUS_SET_PARAMETER 10 |
| void rtsp_add_to_payload | ( | char ** | payload, |
| const char * | string | ||
| ) |
| void rtsp_close | ( | rtsp_t * | this | ) |
References _x_io_tcp_close(), rtsp_s::auth, rtsp_s::host, rtsp_s::mrl, rtsp_s::path, rtsp_free_answers(), rtsp_unschedule_all(), rtsp_s::s, rtsp_s::session, rtsp_s::stream, and rtsp_s::user_agent.
Referenced by rtsp_connect(), rtsp_session_end(), and rtsp_session_start().
| rtsp_t* rtsp_connect | ( | xine_stream_t * | stream, |
| const char * | mrl, | ||
| const char * | user_agent | ||
| ) |
References _, _x_asprintf(), _x_io_tcp_connect(), rtsp_s::answers, rtsp_s::auth, rtsp_s::cseq, rtsp_s::host, lprintf, MAX_FIELDS, rtsp_s::mrl, NULL, rtsp_s::path, rtsp_s::port, rtsp_basicauth(), rtsp_close(), rtsp_request_options(), rtsp_schedule_field(), rtsp_s::s, rtsp_s::scheduled, rtsp_s::server, rtsp_s::server_caps, rtsp_s::session, rtsp_s::stream, rtsp_s::user_agent, xine_stream_s::xine, XINE_VERBOSITY_LOG, and xprintf.
Referenced by rtsp_session_start().
| void rtsp_free_answers | ( | rtsp_t * | this | ) |
References rtsp_s::answers, and NULL.
Referenced by rtsp_close(), and rtsp_get_answers().
| char* rtsp_get_mrl | ( | rtsp_t * | s | ) |
References rtsp_s::mrl.
Referenced by real_setup_and_get_header().
| int rtsp_read | ( | rtsp_t * | this, |
| char * | data, | ||
| int | len | ||
| ) |
| int rtsp_read_data | ( | rtsp_t * | s, |
| void * | buffer, | ||
| unsigned int | size | ||
| ) |
References _x_asprintf(), _x_io_tcp_read(), lprintf, rtsp_get(), rtsp_put(), rtsp_s::s, and rtsp_s::stream.
Referenced by real_get_rdt_chunk(), and real_setup_and_get_header().
| int rtsp_request_describe | ( | rtsp_t * | s, |
| const char * | what | ||
| ) |
References _x_asprintf(), rtsp_s::host, rtsp_s::path, rtsp_s::port, rtsp_get_answers(), and rtsp_send_request().
Referenced by real_setup_and_get_header().
| int rtsp_request_options | ( | rtsp_t * | s, |
| const char * | what | ||
| ) |
References _x_asprintf(), rtsp_s::host, rtsp_s::port, rtsp_get_answers(), and rtsp_send_request().
Referenced by rtsp_connect().
| int rtsp_request_play | ( | rtsp_t * | s, |
| const char * | what | ||
| ) |
References _x_asprintf(), rtsp_s::host, rtsp_s::path, rtsp_s::port, rtsp_get_answers(), and rtsp_send_request().
Referenced by rtsp_session_play().
| int rtsp_request_setparameter | ( | rtsp_t * | s, |
| const char * | what | ||
| ) |
References _x_asprintf(), rtsp_s::host, rtsp_s::path, rtsp_s::port, rtsp_get_answers(), and rtsp_send_request().
Referenced by real_setup_and_get_header().
| int rtsp_request_setup | ( | rtsp_t * | s, |
| const char * | what | ||
| ) |
References rtsp_get_answers(), and rtsp_send_request().
Referenced by real_setup_and_get_header().
| void rtsp_schedule_field | ( | rtsp_t * | s, |
| const char * | string | ||
| ) |
References rtsp_s::scheduled.
Referenced by real_setup_and_get_header(), rtsp_connect(), rtsp_schedule_standard(), and rtsp_session_play().
| const char* rtsp_search_answers | ( | rtsp_t * | s, |
| const char * | tag | ||
| ) |
References rtsp_s::answers, and NULL.
Referenced by real_setup_and_get_header(), and rtsp_session_start().
| int rtsp_send_ok | ( | rtsp_t * | s | ) |
References rtsp_s::cseq, and rtsp_put().
Referenced by real_setup_and_get_header().
| void rtsp_unschedule_all | ( | rtsp_t * | s | ) |
References NULL, and rtsp_s::scheduled.
Referenced by rtsp_close(), and rtsp_send_request().
1.8.17