g_free (padname);
gst_pad_set_active (gpad, TRUE);
+ gst_pad_sticky_events_foreach (pad, copy_sticky_events, gpad);
gst_element_add_pad (GST_ELEMENT_CAST (rtpbin), gpad);
gst_object_unref (pad);
gst_ghost_pad_new_from_template (gname, send_rtp_src, templ);
gst_object_unref (send_rtp_src);
gst_pad_set_active (session->send_rtp_src_ghost, TRUE);
+ gst_pad_sticky_events_foreach (send_rtp_src, copy_sticky_events,
+ session->send_rtp_src_ghost);
gst_element_add_pad (GST_ELEMENT_CAST (rtpbin), session->send_rtp_src_ghost);
g_free (gname);