summaryrefslogtreecommitdiff
path: root/gst/rtpmanager/rtpsource.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-06-22 13:33:32 -0400
committerWim Taymans <wim.taymans@collabora.co.uk>2011-02-01 18:28:51 +0100
commitdb5150a23a7eb99033a89045be4a3d3f59b201f1 (patch)
treebd624254ebdfde936a602bd40c8ebd9045a5d920 /gst/rtpmanager/rtpsource.h
parent90354ecb49096408ba6e21b9e050f4c61c9ddcb0 (diff)
rtpsource: Retain RTCP Feedback packets for a specified amount of time
Diffstat (limited to 'gst/rtpmanager/rtpsource.h')
-rw-r--r--gst/rtpmanager/rtpsource.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/gst/rtpmanager/rtpsource.h b/gst/rtpmanager/rtpsource.h
index 94c22b3f5..fadbe3068 100644
--- a/gst/rtpmanager/rtpsource.h
+++ b/gst/rtpmanager/rtpsource.h
@@ -170,6 +170,8 @@ struct _RTPSource {
RTPReceiverReport last_rr;
GList *conflicting_addresses;
+
+ GQueue *retained_feedback;
};
struct _RTPSourceClass {
@@ -248,7 +250,16 @@ void rtp_source_add_conflicting_address (RTPSource * src,
void rtp_source_timeout (RTPSource * src,
GstClockTime current_time,
- GstClockTime collision_timeout);
+ GstClockTime collision_timeout,
+ GstClockTime feedback_retention_window);
+
+void rtp_source_retain_rtcp_packet (RTPSource * src,
+ GstRTCPPacket *pkt,
+ GstClockTime running_time);
+
+gboolean rtp_source_has_retained (RTPSource * src,
+ GCompareFunc func,
+ gconstpointer data);
#endif /* __RTP_SOURCE_H__ */