diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-06-15 18:39:47 -0400 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-02-01 17:03:39 +0100 |
commit | 1bde4272509c30f0818af865c2f8f51014f7ac14 (patch) | |
tree | 3e3fc8f91e99c29da1124c7a399a54296280d7f1 /gst/rtpmanager/rtpsession.h | |
parent | 975e1fecb3047212c06ffc4b1ab99c469a17b2e4 (diff) |
rtpsession: Add method to request early RTCP packet
Implement the early mode defined in RFC 4585. In this mode, RTCP feedback
packets are sent early to notifier.
Diffstat (limited to 'gst/rtpmanager/rtpsession.h')
-rw-r--r-- | gst/rtpmanager/rtpsession.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpsession.h b/gst/rtpmanager/rtpsession.h index 0f86856cd..a2d5d571b 100644 --- a/gst/rtpmanager/rtpsession.h +++ b/gst/rtpmanager/rtpsession.h @@ -183,6 +183,9 @@ struct _RTPSession { GstClockTime next_rtcp_check_time; GstClockTime last_rtcp_send_time; gboolean first_rtcp; + gboolean allow_early; + + GstClockTime next_early_rtcp_time; gchar *bye_reason; gboolean sent_bye; @@ -298,4 +301,9 @@ GstClockTime rtp_session_next_timeout (RTPSession *sess, GstClockTi GstFlowReturn rtp_session_on_timeout (RTPSession *sess, GstClockTime current_time, guint64 ntpnstime, GstClockTime running_time); +/* request the transmittion of an early RTCP packet */ +void rtp_session_request_early_rtcp (RTPSession * sess, GstClockTime current_time, + GstClockTimeDiff max_delay); + + #endif /* __RTP_SESSION_H__ */ |