xine-lib  1.2.10
rtsp_session.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000-2017 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  *
20  * high level interface to rtsp servers.
21  */
22 
23 #ifndef HAVE_RTSP_SESSION_H
24 #define HAVE_RTSP_SESSION_H
25 
27 
29 
31 
32 int rtsp_session_read(rtsp_session_t *session, char *data, int len);
33 
34 int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize);
35 
36 void rtsp_session_end(rtsp_session_t *session);
37 
38 #endif
xine_s
Definition: xine_internal.h:80
rtsp_session_end
void rtsp_session_end(rtsp_session_t *session)
Definition: rtsp_session.c:256
xine_stream_s::xine
xine_t * xine
Definition: xine_internal.h:126
real_get_rdt_chunk
int real_get_rdt_chunk(rtsp_t *rtsp_session, unsigned char **buffer)
Definition: real.c:536
rtsp_session.h
xine_stream_s
Definition: xine_internal.h:123
XINE_MALLOC
#define XINE_MALLOC
Definition: attributes.h:139
rtsp_session_start
rtsp_session_t * rtsp_session_start(xine_stream_t *stream, const char *mrl)
Definition: rtsp_session.c:90
xine_buffer_copyin
#define xine_buffer_copyin(buf, i, data, len)
Definition: xine_buffer.c:194
xine_buffer_free
#define xine_buffer_free(buf)
Definition: xine_buffer.c:149
real_setup_and_get_header
rmff_header_t * real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwidth)
Definition: real.c:607
rtsp_session_set_start_time
void rtsp_session_set_start_time(rtsp_session_t *this, int start_time)
Definition: rtsp_session.c:181
rmff_header_t
Definition: rmff.h:163
config_values_s::register_enum
int(* register_enum)(config_values_t *self, const char *key, int def_value, char **values, const char *description, const char *help, int exp_level, xine_config_cb_t changed_cb, void *cb_data)
Definition: configfile.h:135
rtsp_session_s::header_len
int header_len
Definition: rtsp_session.c:71
rtsp_session_s::header
uint8_t header[4096]
Definition: rtsp_session.c:70
rtsp_bandwidth_strs
static const char *const rtsp_bandwidth_strs[]
Definition: rtsp_session.c:82
rmff_dump_header
int rmff_dump_header(rmff_header_t *h, void *buf_gen, int max)
Definition: rmff.c:243
rtsp_schedule_field
void rtsp_schedule_field(rtsp_t *s, const char *string)
Definition: rtsp.c:633
rtsp.h
lprintf
#define lprintf(...)
Definition: xineutils.h:620
rtsp_session_read
int rtsp_session_read(rtsp_session_t *session, char *data, int len)
Definition: rtsp_session.c:198
NULL
NULL
Definition: xine_plugin.c:78
XINE_VERBOSITY_LOG
#define XINE_VERBOSITY_LOG
Definition: xine.h:425
rtsp_connect
rtsp_t * rtsp_connect(xine_stream_t *stream, const char *mrl, const char *user_agent)
Definition: rtsp.c:444
HEADER_SIZE
#define HEADER_SIZE
Definition: rtsp_session.c:58
rtsp_session_s::recv_read
int recv_read
Definition: rtsp_session.c:67
xine_s::config
config_values_t * config
Definition: xine_internal.h:82
_
#define _(String)
Definition: vcdplayer.h:39
rtsp_bandwidths
static const uint32_t rtsp_bandwidths[]
Definition: rtsp_session.c:79
xine_buffer.h
XINE_VERBOSITY_DEBUG
#define XINE_VERBOSITY_DEBUG
Definition: xine.h:426
rtsp_session_s::recv_size
int recv_size
Definition: rtsp_session.c:66
rtsp_session_set_start_time
void rtsp_session_set_start_time(rtsp_session_t *this, int start_time)
Definition: rtsp_session.c:181
rtsp_session_s::recv
uint8_t * recv
Definition: rtsp_session.c:65
rtsp_session_s::s
rtsp_t * s
Definition: rtsp_session.c:62
rtsp_session_play
static void rtsp_session_play(rtsp_session_t *this)
Definition: rtsp_session.c:187
rtsp_session_s::playing
int playing
Definition: rtsp_session.c:74
rtsp_session_start
rtsp_session_t * rtsp_session_start(xine_stream_t *stream, const char *mrl)
Definition: rtsp_session.c:90
BUF_SIZE
#define BUF_SIZE
Definition: rtsp_session.c:57
rtsp_request_play
int rtsp_request_play(rtsp_t *s, const char *what)
Definition: rtsp.c:352
real.h
xine_internal.h
rtsp_close
void rtsp_close(rtsp_t *s)
Definition: rtsp.c:563
config.h
rtsp_session_s
Definition: rtsp_session.c:60
rtsp_session_peek_header
int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize)
Definition: rtsp_session.c:246
rtsp_session_peek_header
int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize)
Definition: rtsp_session.c:246
rmff.h
xine_buffer_init
void * xine_buffer_init(int chunk_size)
Definition: xine_buffer.c:129
rtsp_session_read
int rtsp_session_read(rtsp_session_t *this, char *data, int len)
Definition: rtsp_session.c:198
asmrp.h
xprintf
#define xprintf(xine, verbose,...)
Definition: xineutils.h:664
rtsp_session_s::header_left
int header_left
Definition: rtsp_session.c:72
rtsp_session_end
void rtsp_session_end(rtsp_session_t *session)
Definition: rtsp_session.c:256
rtsp_s
Definition: rtsp.c:49
rtsp_session_s::start_time
int start_time
Definition: rtsp_session.c:75
rtsp_search_answers
const char * rtsp_search_answers(rtsp_t *s, const char *tag)
Definition: rtsp.c:583