X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtpdec.h;h=6b161172fd380e71bc896a2952feddee382733d1;hb=634d9d8b398982647b3d7160641198744901d8d8;hp=eaef993d0922230bee49a8b145913cb359ea8ef0;hpb=424da308302bef604844d3110a39f2f03bf5358e;p=ffmpeg diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index eaef993d092..6b161172fd3 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -33,7 +33,7 @@ typedef struct PayloadContext PayloadContext; typedef struct RTPDynamicProtocolHandler RTPDynamicProtocolHandler; #define RTP_MIN_PACKET_LENGTH 12 -#define RTP_MAX_PACKET_LENGTH 1500 +#define RTP_MAX_PACKET_LENGTH 8192 #define RTP_REORDER_QUEUE_DEFAULT_SIZE 10 @@ -51,10 +51,6 @@ int ff_rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt, void ff_rtp_parse_close(RTPDemuxContext *s); int64_t ff_rtp_queued_packet_time(RTPDemuxContext *s); void ff_rtp_reset_packet_queue(RTPDemuxContext *s); -int ff_rtp_get_local_rtp_port(URLContext *h); -int ff_rtp_get_local_rtcp_port(URLContext *h); - -int ff_rtp_set_remote_url(URLContext *h, const char *uri); /** * Send a dummy packet on both port pairs to set up the connection @@ -160,9 +156,6 @@ struct RTPDemuxContext { int64_t unwrapped_timestamp; int64_t range_start_offset; int max_payload_size; - struct MpegTSContext *ts; /* only used for MP2T payloads */ - int read_buf_index; - int read_buf_size; /* used to send back RTCP RR */ char hostname[256]; @@ -192,9 +185,6 @@ struct RTPDemuxContext { unsigned int last_octet_count; int64_t last_feedback_time; - /* buffer for partially parsed packets */ - uint8_t buf[RTP_MAX_PACKET_LENGTH]; - /* dynamic payload stuff */ const RTPDynamicProtocolHandler *handler; PayloadContext *dynamic_protocol_context; @@ -215,7 +205,7 @@ int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p, PayloadContext *data, char *attr, char *value)); -void av_register_rtp_dynamic_payload_handlers(void); +void ff_register_rtp_dynamic_payload_handlers(void); /** * Close the dynamic buffer and make a packet from it.