#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"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 AVClass | rtsp_muxer_class |
| AVOutputFormat | ff_rtsp_muxer |
| 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_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:
{
.name = "rtsp",
.long_name = NULL_IF_CONFIG_SMALL("RTSP output format"),
.priv_data_size = sizeof(RTSPState),
.audio_codec = CODEC_ID_AAC,
.video_codec = CODEC_ID_MPEG4,
.write_header = rtsp_write_header,
.write_packet = rtsp_write_packet,
.write_trailer = rtsp_write_close,
.flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
.priv_class = &rtsp_muxer_class,
}
const AVClass rtsp_muxer_class [static] |
Initial value:
{
.class_name = "RTSP muxer",
.item_name = av_default_item_name,
.option = ff_rtsp_options,
.version = LIBAVUTIL_VERSION_INT,
}
1.5.8