FFmpeg
|
rtp.c
Go to the documentation of this file.
147 if (!strcmp(buf, rtp_payload_types[i].enc_name) && (codec_type == rtp_payload_types[i].codec_type))
Definition: libavcodec/avcodec.h:100
static const struct @154 rtp_payload_types[]
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...
Definition: rtp.c:131
Definition: libavcodec/avcodec.h:360
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.
Definition: rtp.c:142
AVOptions.
Definition: libavcodec/avcodec.h:434
Definition: libavcodec/avcodec.h:110
int ff_rtp_get_payload_type(AVFormatContext *fmt, AVCodecContext *codec, int idx)
Return the payload type for a given stream used in the given format context.
Definition: rtp.c:89
Definition: libavcodec/avcodec.h:103
Definition: libavcodec/avcodec.h:106
Definition: libavcodec/avcodec.h:306
preferred ID for decoding MPEG audio layer 1, 2 or 3
Definition: libavcodec/avcodec.h:382
Definition: avutil.h:144
int ff_rtp_get_codec_info(AVCodecContext *codec, int payload_type)
Initialize a codec context based on the payload type.
Definition: rtp.c:70
Definition: libavcodec/avcodec.h:107
Definition: libavcodec/avcodec.h:300
Definition: libavcodec/avcodec.h:405
int av_opt_get_int(void *obj, const char *name, int search_flags, int64_t *out_val)
Definition: opt.c:687
Definition: libavcodec/avcodec.h:305
Definition: libavcodec/avcodec.h:381
Main libavformat public API header.
Definition: avformat.h:377
FAKE codec to indicate a raw MPEG-2 TS stream (only used by libavformat)
Definition: libavcodec/avcodec.h:492
int av_opt_flag_is_set(void *obj, const char *field_name, const char *flag_name)
Check whether a particular flag is set in a flags field.
Definition: opt.c:789
Definition: avutil.h:143
Generated on Fri Dec 20 2024 06:56:06 for FFmpeg by 1.8.11