From bb2d37b11d68b788d1ddaeecdc90ae4985cab764 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 31 Dec 2013 13:16:46 +0100 Subject: [PATCH] rtpbin: add some docs about AUX elements --- gst/rtpmanager/gstrtpbin.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c index f6979ca..c3532ab 100644 --- a/gst/rtpmanager/gstrtpbin.c +++ b/gst/rtpmanager/gstrtpbin.c @@ -73,6 +73,18 @@ * be placed before the #GstRtpSession element, thus they must support SSRC demuxing * internally. * + * #GstRtpBin has signals (#GstRtpBin::request-aux-sender and + * #GstRtpBin::request-aux-receiver to dynamically request an element that can be + * used to create or merge additional RTP streams. AUX elements are needed to + * implement FEC or retransmission (such as RFC 4588). An AUX sender must have one + * sink_\%u pad that matches the sessionid in the signal and it should have 1 or + * more src_\%u pads. For each src_%\u pad, a session will be made (if needed) + * and the pad will be linked to the session send_rtp_sink pad. Each session will + * then expose its source pad ad send_rtp_src_\%u on #GstRtpBin. + * An AUX receiver has 1 src_\%u pad that much match the sessionid in the signal + * and 1 or more sink_\%u pads. A session will be made for each sink_\%u pad + * when the corresponding recv_rtp_sink_\%u pad is requested on #GstRtpBin. + * * * Example pipelines * |[ -- 2.7.4