Go to the documentation of this file.
31 #define uint32_t unsigned int
32 #define uint16_t unsigned short int
33 #define uint8_t unsigned char
38 #define RTSP_STATUS_SET_PARAMETER 10
39 #define RTSP_STATUS_OK 200
51 int rtsp_request_tearoff(
rtsp_t *
s,
const char *what);
67 void rtsp_set_session(
rtsp_t *
s,
const char *
id);
68 char *rtsp_get_session(
rtsp_t *
s);
77 void rtsp_unschedule_field(
rtsp_t *
s,
const char *
string);
char * auth
Definition: rtsp.c:66
int rtsp_request_play(rtsp_t *s, const char *what)
Definition: rtsp.c:352
xine_t * xine
Definition: xine_internal.h:126
void rtsp_close(rtsp_t *this)
Definition: rtsp.c:563
char * path
Definition: rtsp.c:57
int rtsp_send_ok(rtsp_t *s)
Definition: rtsp.c:282
const char * rtsp_search_answers(rtsp_t *s, const char *tag)
Definition: rtsp.c:583
Definition: xine_internal.h:123
off_t _x_io_tcp_write(xine_stream_t *stream, int s, const void *wbuf_gen, off_t todo)
Definition: io_helper.c:607
void rtsp_schedule_field(rtsp_t *s, const char *string)
Definition: rtsp.c:633
#define XINE_MALLOC
Definition: attributes.h:139
int _x_io_tcp_read_line(xine_stream_t *stream, int sock, char *str, int size)
Definition: io_helper.c:714
int rtsp_send_ok(rtsp_t *s)
Definition: rtsp.c:282
void rtsp_free_answers(rtsp_t *this)
Definition: rtsp.c:688
char * mrl
Definition: rtsp.c:58
char * session
Definition: rtsp.c:65
uint32_t server_caps
Definition: rtsp.c:62
unsigned int cseq
Definition: rtsp.c:64
int rtsp_request_options(rtsp_t *s, const char *what)
Definition: rtsp.c:297
int _x_message(xine_stream_t *stream, int type,...)
Definition: xine_interface.c:1000
void rtsp_schedule_field(rtsp_t *s, const char *string)
Definition: rtsp.c:633
static const char rtsp_protocol_version[]
Definition: rtsp.c:76
#define lprintf(...)
Definition: xineutils.h:620
static void rtsp_send_request(rtsp_t *s, const char *type, const char *what)
Definition: rtsp.c:171
int rtsp_request_options(rtsp_t *s, const char *what)
Definition: rtsp.c:297
NULL
Definition: xine_plugin.c:78
int rtsp_read_data(rtsp_t *s, void *buffer_gen, unsigned int size)
Definition: rtsp.c:381
#define BUF_SIZE
Definition: rtsp.c:45
int port
Definition: rtsp.c:56
#define XINE_VERBOSITY_LOG
Definition: xine.h:425
rtsp_t * rtsp_connect(xine_stream_t *stream, const char *mrl, const char *user_agent)
Definition: rtsp.c:444
char * server
Definition: rtsp.c:61
void rtsp_add_to_payload(char **payload, const char *string)
void rtsp_free_answers(rtsp_t *s)
Definition: rtsp.c:688
int rtsp_read_data(rtsp_t *s, void *buffer, unsigned int size)
Definition: rtsp.c:381
rtsp_t * rtsp_connect(xine_stream_t *stream, const char *mrl, const char *user_agent)
Definition: rtsp.c:444
#define _(String)
Definition: vcdplayer.h:39
xine_stream_t * stream
Definition: rtsp.c:51
int s
Definition: rtsp.c:53
char * rtsp_get_mrl(rtsp_t *s)
Definition: rtsp.c:623
int rtsp_request_setup(rtsp_t *s, const char *what)
Definition: rtsp.c:329
int rtsp_request_setparameter(rtsp_t *s, const char *what)
Definition: rtsp.c:336
#define RTSP_STATUS_SET_PARAMETER
Definition: rtsp.h:38
int rtsp_request_setparameter(rtsp_t *s, const char *what)
Definition: rtsp.c:336
#define XINE_VERBOSITY_DEBUG
Definition: xine.h:426
char code
Definition: xmllexer.c:606
int rtsp_request_describe(rtsp_t *s, const char *what)
Definition: rtsp.c:313
static int rtsp_get_code(rtsp_t *s, const char *string)
Definition: rtsp.c:143
void rtsp_unschedule_all(rtsp_t *s)
Definition: rtsp.c:672
char * rtsp_get_mrl(rtsp_t *s)
Definition: rtsp.c:623
static int rtsp_put(rtsp_t *s, const char *string)
Definition: rtsp.c:118
char * user_agent
Definition: rtsp.c:59
static int rtsp_get_answers(rtsp_t *s)
Definition: rtsp.c:216
int rtsp_request_setup(rtsp_t *s, const char *what)
Definition: rtsp.c:329
char * host
Definition: rtsp.c:55
int rtsp_request_play(rtsp_t *s, const char *what)
Definition: rtsp.c:352
void rtsp_close(rtsp_t *s)
Definition: rtsp.c:563
void rtsp_unschedule_all(rtsp_t *s)
Definition: rtsp.c:672
int _x_io_tcp_connect(xine_stream_t *stream, const char *host, int port)
Definition: io_helper.c:159
static char * rtsp_get(rtsp_t *s)
Definition: rtsp.c:101
#define MAX_FIELDS
Definition: rtsp.c:47
int rtsp_request_describe(rtsp_t *s, const char *what)
Definition: rtsp.c:313
char * scheduled[256]
Definition: rtsp.c:69
int _x_io_tcp_close(xine_stream_t *stream, int fd)
Definition: io_helper.c:740
char * answers[256]
Definition: rtsp.c:68
size_t xine_base64_encode(uint8_t *from, char *to, size_t size)
Definition: utils.c:918
static void rtsp_schedule_standard(rtsp_t *s)
Definition: rtsp.c:198
char * _x_asprintf(const char *format,...)
Definition: utils.c:783
int rtsp_read(rtsp_t *this, char *data, int len)
static char string[1024]
Definition: goomsl_lex.c:637
#define XINE_MSG_AUTHENTICATION_NEEDED
Definition: xine.h:2205
#define xprintf(xine, verbose,...)
Definition: xineutils.h:664
static void rtsp_basicauth(const char *user, const char *password, char **dest)
Definition: rtsp.c:433
off_t _x_io_tcp_read(xine_stream_t *stream, int s, void *buf_gen, off_t todo)
Definition: io_helper.c:524
const char * rtsp_search_answers(rtsp_t *s, const char *tag)
Definition: rtsp.c:583