Go to the documentation of this file.
21 #ifndef AVFORMAT_RTP_H
22 #define AVFORMAT_RTP_H
79 #define RTP_PT_PRIVATE 96
81 #define RTP_MAX_SDES 256
84 #define RTCP_TX_RATIO_NUM 5
85 #define RTCP_TX_RATIO_DEN 1000
91 #define RTP_XIPH_IDENT 0xfecdba
112 #define RTP_PT_IS_RTCP(x) (((x) >= RTCP_FIR && (x) <= RTCP_IJ) || \
113 ((x) >= RTCP_SR && (x) <= RTCP_TOKEN))
115 #define NTP_TO_RTP_FORMAT(x) av_rescale((x), INT64_C(1) << 32, 1000000)
enum AVCodecID ff_rtp_codec_id(const char *buf, enum AVMediaType codec_type)
Return the codec id for the given encoding name and codec type.
This struct describes the properties of an encoded stream.
const char * ff_rtp_enc_name(int payload_type)
Return the encoding name (as defined in http://www.iana.org/assignments/rtp-parameters) for a given p...
enum AVMediaType codec_type
int ff_rtp_get_payload_type(const AVFormatContext *fmt, const AVCodecParameters *par, int idx)
Return the payload type for a given stream used in the given format context.
AVCodecID
Identify the syntax and semantics of the bitstream.
int ff_rtp_get_codec_info(AVCodecParameters *par, int payload_type)
Initialize a codec context based on the payload type.