X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtpdec.h;h=7f14aa2d68c57e2ccddca559fdb5bc15f9bb9a2f;hb=2ef4d586d6352a69c0669d53ce1035eb7d8db0e8;hp=eb1e62daec2fdf69d22e85b96d49e3bbba6a4a47;hpb=12348ca25e0bf44bf4530745753e938fc54e7ae3;p=ffmpeg diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index eb1e62daec2..7f14aa2d68c 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -71,13 +71,8 @@ void ff_rtp_send_punch_packets(URLContext* rtp_handle); */ int ff_rtp_check_and_send_back_rr(RTPDemuxContext *s, int count); -/** - * Get the file handle for the RTCP socket. - */ -int ff_rtp_get_rtcp_file_handle(URLContext *h); - // these statistics are used for rtcp receiver reports... -typedef struct { +typedef struct RTPStatistics { uint16_t max_seq; ///< highest sequence number seen uint32_t cycles; ///< shifted count of sequence number cycles uint32_t base_seq; ///< base sequence number @@ -116,12 +111,13 @@ struct RTPDynamicProtocolHandler_s { // fields from AVRtpDynamicPayloadType_s const char enc_name[50]; /* XXX: still why 50 ? ;-) */ enum AVMediaType codec_type; - enum CodecID codec_id; + enum AVCodecID codec_id; int static_payload_id; /* 0 means no payload id is set. 0 is a valid * payload ID (PCMU), too, but that format doesn't * require any custom depacketization code. */ // may be null + int (*init)(AVFormatContext *s, int st_index, PayloadContext *priv_data); ///< Initialize dynamic protocol handler, called after the full rtpmap line is parsed int (*parse_sdp_a_line) (AVFormatContext *s, int st_index, PayloadContext *priv_data,