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 |
#define RTSP_DEFAULT_NB_AUDIO_CHANNELS 2 |
#define RTSP_DEFAULT_PORT 554 |
#define RTSP_MAX_TRANSPORTS 8 |
#define RTSP_RTP_PORT_MAX 10000 |
#define RTSP_RTP_PORT_MIN 5000 |
#define RTSP_TCP_MAX_PACKET_SIZE 1472 |
Typedef Documentation
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
void rtsp_parse_line |
( |
RTSPHeader * |
reply, |
|
|
const char * |
buf | |
|
) |
| | |
Variable Documentation