static void rtp_session_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec);
-static void rtp_session_send_rtcp (RTPSession * sess,
- GstClockTimeDiff max_delay);
+static void rtp_session_send_rtcp (RTPSession * sess, GstClockTime max_delay);
static guint rtp_session_signals[LAST_SIGNAL] = { 0 };
/* Apply the rules from RFC 4585 section 3.5.3 */
if (sess->stats.min_interval != 0 && !sess->first_rtcp) {
- GstClockTimeDiff T_rr_current_interval =
+ GstClockTime T_rr_current_interval =
g_random_double_range (0.5, 1.5) * sess->stats.min_interval;
/* This will caused the RTCP to be suppressed if no FB packets are added */
*/
void
rtp_session_request_early_rtcp (RTPSession * sess, GstClockTime current_time,
- GstClockTimeDiff max_delay)
+ GstClockTime max_delay)
{
GstClockTime T_dither_max;
}
static void
-rtp_session_send_rtcp (RTPSession * sess, GstClockTimeDiff max_delay)
+rtp_session_send_rtcp (RTPSession * sess, GstClockTime max_delay)
{
GstClockTime now;
gboolean early);
void (*on_feedback_rtcp) (RTPSession *sess, guint type, guint fbtype,
guint sender_ssrc, guint media_ssrc, GstBuffer *fci);
- void (*send_rtcp) (RTPSession *sess, GstClockTimeDiff max_delay);
+ void (*send_rtcp) (RTPSession *sess, GstClockTime max_delay);
};
GType rtp_session_get_type (void);
/* request the transmittion of an early RTCP packet */
void rtp_session_request_early_rtcp (RTPSession * sess, GstClockTime current_time,
- GstClockTimeDiff max_delay);
+ GstClockTime max_delay);
/* Notify session of a request for a new key unit */
gboolean rtp_session_request_key_unit (RTPSession * sess,