xine-lib 1.2.11
Data Structures | Macros | Functions
input_rtsp.c File Reference
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "bswap.h"
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/input_plugin.h>
#include "librtsp/rtsp_session.h"
#include "net_buf_ctrl.h"
#include "input_helper.h"
#include "group_network.h"

Data Structures

struct  rtsp_input_plugin_t
 

Macros

#define LOG_MODULE   "input_rtsp"
 
#define LOG_VERBOSE
 
#define BUFSIZE   1025
 

Functions

static off_t rtsp_plugin_read (input_plugin_t *this_gen, void *buf, off_t len)
 
static off_t rtsp_plugin_seek (input_plugin_t *this_gen, off_t offset, int origin)
 
static off_t rtsp_plugin_seek_time (input_plugin_t *this_gen, int time_offset, int origin)
 
static off_t rtsp_plugin_get_length (input_plugin_t *this_gen)
 
static uint32_t rtsp_plugin_get_capabilities (input_plugin_t *this_gen)
 
static off_t rtsp_plugin_get_current_pos (input_plugin_t *this_gen)
 
static void rtsp_plugin_dispose (input_plugin_t *this_gen)
 
static const char * rtsp_plugin_get_mrl (input_plugin_t *this_gen)
 
static int rtsp_plugin_get_optional_data (input_plugin_t *this_gen, void *data, int data_type)
 
static int rtsp_plugin_open (input_plugin_t *this_gen)
 
static input_plugin_trtsp_class_get_instance (input_class_t *cls_gen, xine_stream_t *stream, const char *mrl)
 
void * input_rtsp_init_class (xine_t *xine, const void *data)
 

Macro Definition Documentation

◆ BUFSIZE

#define BUFSIZE   1025

◆ LOG_MODULE

#define LOG_MODULE   "input_rtsp"

◆ LOG_VERBOSE

#define LOG_VERBOSE

Function Documentation

◆ input_rtsp_init_class()

void * input_rtsp_init_class ( xine_t xine,
const void *  data 
)

◆ rtsp_class_get_instance()

static input_plugin_t * rtsp_class_get_instance ( input_class_t cls_gen,
xine_stream_t stream,
const char *  mrl 
)
static

◆ rtsp_plugin_dispose()

static void rtsp_plugin_dispose ( input_plugin_t this_gen)
static

◆ rtsp_plugin_get_capabilities()

static uint32_t rtsp_plugin_get_capabilities ( input_plugin_t this_gen)
static

◆ rtsp_plugin_get_current_pos()

static off_t rtsp_plugin_get_current_pos ( input_plugin_t this_gen)
static

Referenced by rtsp_class_get_instance().

◆ rtsp_plugin_get_length()

static off_t rtsp_plugin_get_length ( input_plugin_t this_gen)
static

Referenced by rtsp_class_get_instance().

◆ rtsp_plugin_get_mrl()

static const char * rtsp_plugin_get_mrl ( input_plugin_t this_gen)
static

Referenced by rtsp_class_get_instance().

◆ rtsp_plugin_get_optional_data()

static int rtsp_plugin_get_optional_data ( input_plugin_t this_gen,
void *  data,
int  data_type 
)
static

◆ rtsp_plugin_open()

static int rtsp_plugin_open ( input_plugin_t this_gen)
static

References lprintf, and rtsp_session_start().

Referenced by rtsp_class_get_instance().

◆ rtsp_plugin_read()

static off_t rtsp_plugin_read ( input_plugin_t this_gen,
void *  buf,
off_t  len 
)
static

References lprintf, and rtsp_session_read().

Referenced by rtsp_class_get_instance().

◆ rtsp_plugin_seek()

static off_t rtsp_plugin_seek ( input_plugin_t this_gen,
off_t  offset,
int  origin 
)
static

◆ rtsp_plugin_seek_time()

static off_t rtsp_plugin_seek_time ( input_plugin_t this_gen,
int  time_offset,
int  origin 
)
static