#include "avformat.h"
#include "mpegts.h"
#include "bitstream.h"
#include <unistd.h>
#include "network.h"
#include <assert.h>
#include "rtp_internal.h"
#include "rtp_h264.h"
#include "base64.h"
#include "avstring.h"
Go to the source code of this file.
Data Structures | |
struct | h264_rtp_extra_data |
RTP/H264 specific private data. More... | |
Defines | |
#define | MAGIC_COOKIE (0xdeadbeef) |
Cookie for the extradata; to verify we are what we think we are, and that we haven't been freed. | |
#define | DEAD_COOKIE (0xdeaddead) |
Cookie for the extradata; once it is freed. | |
Functions | |
static void | sdp_parse_fmtp_config_h264 (AVStream *stream, h264_rtp_extra_data *h264_data, char *attr, char *value) |
static int | h264_handle_packet (RTPDemuxContext *s, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags) |
static void * | h264_new_extradata (void) |
static void | h264_free_extradata (void *d) |
static int | parse_h264_sdp_line (AVStream *stream, void *data, const char *line) |
Variables | |
RTPDynamicProtocolHandler | ff_h264_dynamic_handler |
This is the structure for expanding on the dynamic rtp protocols (makes everything static. |
TODO: 1) RTCP sender reports for udp streams are required..
Definition in file rtp_h264.c.
#define DEAD_COOKIE (0xdeaddead) |
Cookie for the extradata; once it is freed.
Definition at line 69 of file rtp_h264.c.
Referenced by h264_free_extradata().
#define MAGIC_COOKIE (0xdeadbeef) |
Cookie for the extradata; to verify we are what we think we are, and that we haven't been freed.
Definition at line 68 of file rtp_h264.c.
Referenced by h264_free_extradata(), h264_handle_packet(), h264_new_extradata(), and parse_h264_sdp_line().
static void h264_free_extradata | ( | void * | d | ) | [static] |
Definition at line 329 of file rtp_h264.c.
static int h264_handle_packet | ( | RTPDemuxContext * | s, | |
AVPacket * | pkt, | |||
uint32_t * | timestamp, | |||
const uint8_t * | buf, | |||
int | len, | |||
int | flags | |||
) | [static] |
Definition at line 162 of file rtp_h264.c.
static void* h264_new_extradata | ( | void | ) | [static] |
Definition at line 316 of file rtp_h264.c.
static int parse_h264_sdp_line | ( | AVStream * | stream, | |
void * | data, | |||
const char * | line | |||
) | [static] |
Definition at line 352 of file rtp_h264.c.
static void sdp_parse_fmtp_config_h264 | ( | AVStream * | stream, | |
h264_rtp_extra_data * | h264_data, | |||
char * | attr, | |||
char * | value | |||
) | [static] |
Initial value:
{ "H264", CODEC_TYPE_VIDEO, CODEC_ID_H264, parse_h264_sdp_line, h264_new_extradata, h264_free_extradata, h264_handle_packet }
yay!)
Definition at line 406 of file rtp_h264.c.
Referenced by av_register_rtp_dynamic_payload_handlers().