#include "avformat.h"
#include <sys/time.h>
#include "network.h"
#include "rtsp.h"
#include <libavutil/intreadwrite.h>
Go to the source code of this file.
Functions | |
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 | |
AVOutputFormat | rtsp_muxer |
static int rtsp_write_close | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_write_header | ( | AVFormatContext * | s | ) | [static] |
static int rtsp_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int rtsp_write_record | ( | AVFormatContext * | s | ) | [static] |
static int tcp_write_packet | ( | AVFormatContext * | s, | |
RTSPStream * | rtsp_st | |||
) | [static] |
Initial value:
{ "rtsp", NULL_IF_CONFIG_SMALL("RTSP output format"), NULL, NULL, sizeof(RTSPState), CODEC_ID_PCM_MULAW, CODEC_ID_NONE, rtsp_write_header, rtsp_write_packet, rtsp_write_close, .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER, }