diff options
author | Michael Niedermayer | 2013-01-09 11:48:14 +0100 |
---|---|---|
committer | Michael Niedermayer | 2013-01-09 11:48:14 +0100 |
commit | 34c1c08c665389daa190cb331e4d899da8dde57a (patch) | |
tree | 4102f99b0b4cc834d0b9b6ccaef586753ad9c0f0 /libavformat/rtpdec.h | |
parent | 8c3ae9ee66a2fb094b188c994a18df9f3e69a283 (diff) | |
parent | 86d9181cf41edc3382bf2481f95a2fb321058689 (diff) |
Merge commit '86d9181cf41edc3382bf2481f95a2fb321058689'
* commit '86d9181cf41edc3382bf2481f95a2fb321058689':
rtpdec: Support sending RTCP feedback packets
Conflicts:
libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r-- | libavformat/rtpdec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 3023cee8bf..b8eb2f9f1c 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -73,6 +73,8 @@ void ff_rtp_send_punch_packets(URLContext* rtp_handle); */ int ff_rtp_check_and_send_back_rr(RTPDemuxContext *s, URLContext *fd, AVIOContext *avio, int count); +int ff_rtp_send_rtcp_feedback(RTPDemuxContext *s, URLContext *fd, + AVIOContext *avio); // these statistics are used for rtcp receiver reports... typedef struct RTPStatistics { @@ -130,6 +132,7 @@ struct RTPDynamicProtocolHandler { void (*free)(PayloadContext *protocol_data); /** Parse handler for this dynamic packet */ DynamicPayloadPacketHandlerProc parse_packet; + int (*need_keyframe)(PayloadContext *context); struct RTPDynamicProtocolHandler *next; }; @@ -180,6 +183,8 @@ struct RTPDemuxContext { unsigned int packet_count; unsigned int octet_count; unsigned int last_octet_count; + int64_t last_feedback_time; + /* buffer for partially parsed packets */ uint8_t buf[RTP_MAX_PACKET_LENGTH]; |