Quicktime-style RTP support.
More...
#include "libavutil/mem.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"
#include "rtp.h"
#include "rtpdec.h"
#include "isom.h"
#include "libavcodec/get_bits.h"
Go to the source code of this file.
|
static av_cold int | qt_rtp_init (AVFormatContext *ctx, int st_index, PayloadContext *qt) |
|
static int | qt_rtp_parse_packet (AVFormatContext *s, PayloadContext *qt, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags) |
|
static void | qt_rtp_close (PayloadContext *qt) |
|
| RTP_QT_HANDLER (qt, vid, "X-QT", AVMEDIA_TYPE_VIDEO) |
|
| RTP_QT_HANDLER (qt, aud, "X-QT", AVMEDIA_TYPE_AUDIO) |
|
| RTP_QT_HANDLER (quicktime, vid, "X-QUICKTIME", AVMEDIA_TYPE_VIDEO) |
|
| RTP_QT_HANDLER (quicktime, aud, "X-QUICKTIME", AVMEDIA_TYPE_AUDIO) |
|
◆ MKTAG16
◆ RTP_QT_HANDLER
#define RTP_QT_HANDLER |
( |
|
m, |
|
|
|
n, |
|
|
|
s, |
|
|
|
t |
|
) |
| |
◆ qt_rtp_init()
◆ qt_rtp_parse_packet()
◆ qt_rtp_close()
◆ RTP_QT_HANDLER() [1/4]
◆ RTP_QT_HANDLER() [2/4]
◆ RTP_QT_HANDLER() [3/4]
◆ RTP_QT_HANDLER() [4/4]
static int parse_packet(AVFormatContext *s, AVPacket *pkt, int stream_index, int flush)
Parse a packet, add all split parts to parse_queue.
static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags)
RTP/JPEG specific private data.