libavformat/rtsp.h File Reference

#include <stdint.h>
#include "avformat.h"
#include "rtspcodes.h"

Go to the source code of this file.

Data Structures

struct  RTSPTransportField
struct  RTSPHeader
struct  RTSPActionServerSetup

Defines

#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  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 }
 the callback can be used to extend the connection setup/teardown step More...

Functions

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


Define Documentation

#define RTSP_DEFAULT_AUDIO_SAMPLERATE   44100

Definition at line 38 of file rtsp.h.

Referenced by sdp_parse_rtpmap().

#define RTSP_DEFAULT_NB_AUDIO_CHANNELS   2

Definition at line 37 of file rtsp.h.

Referenced by sdp_parse_rtpmap().

#define RTSP_DEFAULT_PORT   554

Definition at line 34 of file rtsp.h.

Referenced by rtsp_read_header().

#define RTSP_MAX_TRANSPORTS   8

Definition at line 35 of file rtsp.h.

#define RTSP_RTP_PORT_MAX   10000

Definition at line 40 of file rtsp.h.

Referenced by rtsp_read_header().

#define RTSP_RTP_PORT_MIN   5000

Definition at line 39 of file rtsp.h.

Referenced by rtsp_read_header().

#define RTSP_TCP_MAX_PACKET_SIZE   1472

Definition at line 36 of file rtsp.h.

Referenced by http_prepare_data(), and rtp_new_av_stream().


Typedef Documentation

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

Definition at line 76 of file rtsp.h.


Enumeration Type Documentation

the callback can be used to extend the connection setup/teardown step

Enumerator:
RTSP_ACTION_SERVER_SETUP 
RTSP_ACTION_SERVER_TEARDOWN 
RTSP_ACTION_CLIENT_SETUP 
RTSP_ACTION_CLIENT_TEARDOWN 

Definition at line 64 of file rtsp.h.

Enumerator:
RTSP_PROTOCOL_RTP_UDP 
RTSP_PROTOCOL_RTP_TCP 
RTSP_PROTOCOL_RTP_UDP_MULTICAST 

Definition at line 28 of file rtsp.h.


Function Documentation

int rtsp_init ( void   ) 

void rtsp_parse_line ( RTSPHeader reply,
const char *  buf 
)

Definition at line 686 of file rtsp.c.

Referenced by rtsp_parse_request(), and rtsp_send_cmd().

int rtsp_pause ( AVFormatContext s  ) 

int rtsp_resume ( AVFormatContext s  ) 


Variable Documentation

Definition at line 81 of file rtsp.c.

Referenced by rtsp_read_header().


Generated on Thu Apr 2 07:15:43 2009 for ffmpeg by  doxygen 1.5.6