|
xine-lib
1.2.10
|
#include <sys/types.h>#include <unistd.h>#include <stdio.h>#include <fcntl.h>#include <stdlib.h>#include <string.h>#include "rtsp.h"#include "rtsp_session.h"#include "real.h"#include "rmff.h"#include "asmrp.h"#include <xine/xine_internal.h>#include <xine/xine_buffer.h>Data Structures | |
| struct | rtsp_session_s |
Macros | |
| #define | LOG_MODULE "rtsp_session" |
| #define | LOG_VERBOSE |
| #define | BUF_SIZE 4096 |
| #define | HEADER_SIZE 4096 |
Functions | |
| rtsp_session_t * | rtsp_session_start (xine_stream_t *stream, const char *mrl) |
| void | rtsp_session_set_start_time (rtsp_session_t *this, int start_time) |
| static void | rtsp_session_play (rtsp_session_t *this) |
| int | rtsp_session_read (rtsp_session_t *this, char *data, int len) |
| int | rtsp_session_peek_header (rtsp_session_t *this, char *buf, int maxsize) |
| void | rtsp_session_end (rtsp_session_t *session) |
Variables | |
| static const uint32_t | rtsp_bandwidths [] |
| static const char *const | rtsp_bandwidth_strs [] |
| #define BUF_SIZE 4096 |
| #define HEADER_SIZE 4096 |
| #define LOG_MODULE "rtsp_session" |
| #define LOG_VERBOSE |
| void rtsp_session_end | ( | rtsp_session_t * | session | ) |
References rtsp_session_s::recv, rtsp_close(), rtsp_session_s::s, and xine_buffer_free.
Referenced by rtsp_plugin_dispose().
| int rtsp_session_peek_header | ( | rtsp_session_t * | this, |
| char * | buf, | ||
| int | maxsize | ||
| ) |
Referenced by rtsp_plugin_get_optional_data().
|
static |
References NULL, rtsp_request_play(), and rtsp_schedule_field().
Referenced by rtsp_session_read().
| int rtsp_session_read | ( | rtsp_session_t * | this, |
| char * | data, | ||
| int | len | ||
| ) |
References lprintf, real_get_rdt_chunk(), and rtsp_session_play().
Referenced by rtsp_plugin_read().
| void rtsp_session_set_start_time | ( | rtsp_session_t * | this, |
| int | start_time | ||
| ) |
Referenced by rtsp_plugin_seek_time().
| rtsp_session_t* rtsp_session_start | ( | xine_stream_t * | stream, |
| const char * | mrl | ||
| ) |
References _, BUF_SIZE, xine_s::config, rtsp_session_s::header, rtsp_session_s::header_left, rtsp_session_s::header_len, HEADER_SIZE, NULL, real_setup_and_get_header(), rtsp_session_s::recv, rtsp_session_s::recv_read, rtsp_session_s::recv_size, config_values_s::register_enum, rmff_dump_header(), rtsp_bandwidth_strs, rtsp_bandwidths, rtsp_close(), rtsp_connect(), rtsp_search_answers(), rtsp_session_s::s, xine_stream_s::xine, xine_buffer_copyin, xine_buffer_free, xine_buffer_init(), XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by rtsp_plugin_open().
|
static |
Referenced by rtsp_session_start().
|
static |
Referenced by rtsp_session_start().
1.8.17