libavformat/rtspenc.c File Reference

#include "avformat.h"
#include <sys/time.h>
#include "network.h"
#include "os_support.h"
#include "rtsp.h"
#include "internal.h"
#include "avio_internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/avstring.h"
#include "url.h"
#include "libavutil/opt.h"
#include "rtpenc.h"

Go to the source code of this file.

Defines

#define SDP_MAX_SIZE   16384

Functions

int ff_rtsp_setup_output_streams (AVFormatContext *s, const char *addr)
 Announce the stream to the server and set up the RTSPStream child objects for each media stream.
static int rtsp_write_record (AVFormatContext *s)
static int rtsp_write_header (AVFormatContext *s)
static int tcp_write_packet (AVFormatContext *s, RTSPStream *rtsp_st)
static int rtsp_write_packet (AVFormatContext *s, AVPacket *pkt)
static int rtsp_write_close (AVFormatContext *s)

Variables

static const AVOption options []
static const AVClass rtsp_muxer_class
AVOutputFormat ff_rtsp_muxer


Define Documentation

#define SDP_MAX_SIZE   16384

Definition at line 39 of file rtspenc.c.


Function Documentation

int ff_rtsp_setup_output_streams ( AVFormatContext s,
const char *  addr 
)

Announce the stream to the server and set up the RTSPStream child objects for each media stream.

Definition at line 53 of file rtspenc.c.

static int rtsp_write_close ( AVFormatContext s  )  [static]

Definition at line 231 of file rtspenc.c.

static int rtsp_write_header ( AVFormatContext s  )  [static]

Definition at line 130 of file rtspenc.c.

static int rtsp_write_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 185 of file rtspenc.c.

static int rtsp_write_record ( AVFormatContext s  )  [static]

Definition at line 115 of file rtspenc.c.

Referenced by rtsp_write_header().

static int tcp_write_packet ( AVFormatContext s,
RTSPStream rtsp_st 
) [static]

Definition at line 146 of file rtspenc.c.

Referenced by rtsp_write_packet().


Variable Documentation

Initial value:

Definition at line 243 of file rtspenc.c.

const AVOption options[] [static]

Initial value:

 {
    FF_RTP_FLAG_OPTS(RTSPState, rtp_muxer_flags),
    { NULL },
}

Definition at line 41 of file rtspenc.c.

const AVClass rtsp_muxer_class [static]

Initial value:

 {
    .class_name = "RTSP muxer",
    .item_name  = av_default_item_name,
    .option     = options,
    .version    = LIBAVUTIL_VERSION_INT,
}

Definition at line 46 of file rtspenc.c.


Generated on Fri Oct 26 02:39:49 2012 for FFmpeg by  doxygen 1.5.8