Revision c3efd98c libavformat/rtp.h

View differences:

libavformat/rtp.h
46 46
 * negative value is returned; otherwise, 0 is returned
47 47
 */
48 48
int ff_rtp_get_codec_info(AVCodecContext *codec, int payload_type);
49

  
50
/**
51
 * Return the encoding name (as defined in
52
 * http://www.iana.org/assignments/rtp-parameters) for a given payload type.
53
 *
54
 * @param payload_type The payload type (the 'PT' field in the RTP header)
55
 * @return In case of unknown payload type or dynamic payload type, a pointer
56
 * to an empty string is returned; otherwise, a pointer to a string containing
57
 * the encoding name is returned
58
 */
49 59
const char *ff_rtp_enc_name(int payload_type);
50 60
enum CodecID ff_rtp_codec_id(const char *buf, enum CodecType codec_type);
51 61

  

Also available in: Unified diff