D:/opendownloadmanager/ODM-1.x/Include.Add/ffmpeg/rtsp.h File Reference

#include "rtspcodes.h"

Go to the source code of this file.

Classes

struct  RTSPTransportField
struct  RTSPHeader
struct  RTSPActionServerSetup

Defines

#define DEF(n, c, s)   c = n,
#define RTSP_DEFAULT_PORT   554
#define RTSP_MAX_TRANSPORTS   8
#define RTSP_TCP_MAX_PACKET_SIZE   1472
#define RTSP_DEFAULT_NB_AUDIO_CHANNELS   2
#define RTSP_DEFAULT_AUDIO_SAMPLERATE   44100
#define RTSP_RTP_PORT_MIN   5000
#define RTSP_RTP_PORT_MAX   10000

Typedefs

typedef int FFRTSPCallback (enum RTSPCallbackAction action, const char *session_id, char *buf, int buf_size, void *arg)

Enumerations

enum  RTSPStatusCode { DEF = (n, c, s) }
enum  RTSPProtocol { RTSP_PROTOCOL_RTP_UDP = 0, RTSP_PROTOCOL_RTP_TCP = 1, RTSP_PROTOCOL_RTP_UDP_MULTICAST = 2 }
enum  RTSPCallbackAction { RTSP_ACTION_SERVER_SETUP, RTSP_ACTION_SERVER_TEARDOWN, RTSP_ACTION_CLIENT_SETUP, RTSP_ACTION_CLIENT_TEARDOWN }

Functions

void rtsp_set_callback (FFRTSPCallback *rtsp_cb)
int rtsp_init (void)
void rtsp_parse_line (RTSPHeader *reply, const char *buf)
int rtsp_pause (AVFormatContext *s)
int rtsp_resume (AVFormatContext *s)

Variables

int rtsp_default_protocols
int rtsp_rtp_port_min
int rtsp_rtp_port_max
FFRTSPCallbackff_rtsp_callback
AVInputFormat rtsp_demuxer


Define Documentation

#define DEF ( n,
c,
 )     c = n,

#define RTSP_DEFAULT_AUDIO_SAMPLERATE   44100

Definition at line 24 of file rtsp.h.

#define RTSP_DEFAULT_NB_AUDIO_CHANNELS   2

Definition at line 23 of file rtsp.h.

#define RTSP_DEFAULT_PORT   554

Definition at line 20 of file rtsp.h.

#define RTSP_MAX_TRANSPORTS   8

Definition at line 21 of file rtsp.h.

#define RTSP_RTP_PORT_MAX   10000

Definition at line 26 of file rtsp.h.

#define RTSP_RTP_PORT_MIN   5000

Definition at line 25 of file rtsp.h.

#define RTSP_TCP_MAX_PACKET_SIZE   1472

Definition at line 22 of file rtsp.h.


Typedef Documentation

typedef int FFRTSPCallback(enum RTSPCallbackAction action, const char *session_id, char *buf, int buf_size, void *arg)

Definition at line 61 of file rtsp.h.


Enumeration Type Documentation

Enumerator:
RTSP_ACTION_SERVER_SETUP 
RTSP_ACTION_SERVER_TEARDOWN 
RTSP_ACTION_CLIENT_SETUP 
RTSP_ACTION_CLIENT_TEARDOWN 

Definition at line 49 of file rtsp.h.

Enumerator:
RTSP_PROTOCOL_RTP_UDP 
RTSP_PROTOCOL_RTP_TCP 
RTSP_PROTOCOL_RTP_UDP_MULTICAST 

Definition at line 14 of file rtsp.h.

Enumerator:
DEF 

Definition at line 8 of file rtsp.h.


Function Documentation

int rtsp_init ( void   ) 

void rtsp_parse_line ( RTSPHeader reply,
const char *  buf 
)

int rtsp_pause ( AVFormatContext s  ) 

int rtsp_resume ( AVFormatContext s  ) 

void rtsp_set_callback ( FFRTSPCallback rtsp_cb  ) 


Variable Documentation


Generated on Sun May 25 00:20:00 2008 by  doxygen 1.5.6