#include <stdint.h>
#include "avcodec.h"
#include "rtp.h"
Go to the source code of this file.
Data Structures | |
struct | RTPStatistics |
struct | RTPDynamicProtocolHandler_s |
struct | RTPDemuxContext |
Typedefs | |
typedef int(* | DynamicPayloadPacketHandlerProc )(struct RTPDemuxContext *s, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags) |
Packet parsing for "private" payloads in the RTP specs. | |
typedef struct RTPDynamicProtocolHandler_s | RTPDynamicProtocolHandler |
Functions | |
int | rtsp_next_attr_and_value (const char **p, char *attr, int attr_size, char *value, int value_size) |
from rtsp.c, but used by rtp dynamic protocol handlers. | |
void | ff_rtp_send_data (AVFormatContext *s1, const uint8_t *buf1, int len, int m) |
const char * | ff_rtp_enc_name (int payload_type) |
enum CodecID | ff_rtp_codec_id (const char *buf, enum CodecType codec_type) |
void | av_register_rtp_dynamic_payload_handlers (void) |
Variables | |
RTPDynamicProtocolHandler * | RTPFirstDynamicPayloadHandler |
typedef int(* DynamicPayloadPacketHandlerProc)(struct RTPDemuxContext *s, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, int flags) |
Packet parsing for "private" payloads in the RTP specs.
s | stream context | |
pkt | packet in which to write the parsed data | |
timestamp | pointer in which to write the timestamp of this RTP packet | |
buf | pointer to raw RTP packet data | |
len | length of buf | |
flags | flags from the RTP packet header (PKT_FLAG_*) |
Definition at line 54 of file rtp_internal.h.
typedef struct RTPDynamicProtocolHandler_s RTPDynamicProtocolHandler |
void av_register_rtp_dynamic_payload_handlers | ( | void | ) |
const char* ff_rtp_enc_name | ( | int | payload_type | ) |
Definition at line 208 of file rtp.c.
Referenced by rtp_parse_close(), rtp_parse_open(), and sdp_parse_line().
void ff_rtp_send_data | ( | AVFormatContext * | s1, | |
const uint8_t * | buf1, | |||
int | len, | |||
int | m | |||
) |
Definition at line 137 of file rtpenc.c.
Referenced by ff_rtp_send_aac(), ff_rtp_send_mpegvideo(), nal_send(), rtp_send_mpegaudio(), rtp_send_mpegts_raw(), rtp_send_raw(), and rtp_send_samples().
int rtsp_next_attr_and_value | ( | const char ** | p, | |
char * | attr, | |||
int | attr_size, | |||
char * | value, | |||
int | value_size | |||
) |
from rtsp.c, but used by rtp dynamic protocol handlers.
from rtsp.c, but used by rtp dynamic protocol handlers.
This is broken out as a function because it is used in rtp_h264.c, which is forthcoming.
Definition at line 287 of file rtsp.c.
Referenced by parse_h264_sdp_line(), and sdp_parse_fmtp().