xine-lib 1.2.13-20230125hg15249
Macros | Typedefs | Functions
rtsp.h File Reference
#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_trtsp_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)
 

Macro Definition Documentation

◆ RTSP_STATUS_OK

#define RTSP_STATUS_OK   200

◆ RTSP_STATUS_SET_PARAMETER

#define RTSP_STATUS_SET_PARAMETER   10

Referenced by rtsp_get_code().

Typedef Documentation

◆ rtsp_t

typedef struct rtsp_s rtsp_t

Function Documentation

◆ rtsp_add_to_payload()

void rtsp_add_to_payload ( char ** payload,
const char * string )

◆ rtsp_close()

void rtsp_close ( rtsp_t * this)

◆ rtsp_connect()

rtsp_t * rtsp_connect ( xine_stream_t * stream,
const char * mrl,
const char * user_agent )

◆ rtsp_free_answers()

void rtsp_free_answers ( rtsp_t * this)

References rtsp_s::answers, and NULL.

Referenced by rtsp_close(), and rtsp_get_answers().

◆ rtsp_get_mrl()

char * rtsp_get_mrl ( rtsp_t * s)

References rtsp_s::mrl.

Referenced by real_setup_and_get_header().

◆ rtsp_read()

int rtsp_read ( rtsp_t * this,
char * data,
int len )

◆ rtsp_read_data()

int rtsp_read_data ( rtsp_t * s,
void * buffer,
unsigned int size )

◆ rtsp_request_describe()

int rtsp_request_describe ( rtsp_t * s,
const char * what )

◆ rtsp_request_options()

int rtsp_request_options ( rtsp_t * s,
const char * what )

◆ rtsp_request_play()

int rtsp_request_play ( rtsp_t * s,
const char * what )

◆ rtsp_request_setparameter()

int rtsp_request_setparameter ( rtsp_t * s,
const char * what )

◆ rtsp_request_setup()

int rtsp_request_setup ( rtsp_t * s,
const char * what )

◆ rtsp_schedule_field()

void rtsp_schedule_field ( rtsp_t * s,
const char * string )

◆ rtsp_search_answers()

const char * rtsp_search_answers ( rtsp_t * s,
const char * tag )

◆ rtsp_send_ok()

int rtsp_send_ok ( rtsp_t * s)

References rtsp_s::cseq, and rtsp_put().

Referenced by real_setup_and_get_header().

◆ rtsp_unschedule_all()

void rtsp_unschedule_all ( rtsp_t * s)

References NULL, and rtsp_s::scheduled.

Referenced by rtsp_close(), and rtsp_send_request().