<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    I finally managed to connect "on-receiving-rtcp" and
    "on-sending-rtcp" signals.  The problem was that the files
    gstrtpsession.h, rtpsession.h, rtpsource.h and rtpstats.h are not
    present after installation of the package
    "libgstreamer-plugins-good1.0-dev" under Ubuntu.  I had to install
    gst-plugins-good-1.14.4 sources to get these files.  I point out
    that 'make install' of gst-plugins-good does not install them.  Is
    there another way to do?<br>
    <br>
    On Jan 09, 2016; 3:36am, Steven Presser sent a message titled "Can't
    get EOS using RTP/RTCP" on this list <br>
(<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/archives/gstreamer-devel/2016-January/056048.html">https://lists.freedesktop.org/archives/gstreamer-devel/2016-January/056048.html</a>).
    As I have the same problem, I would like to know if it has been
    solved.<br>
    <br>
    Happy New Year to all<br>
    Philippe<br>
    <br>
    <div class="moz-cite-prefix">Le 31/12/2018 à 17:21, Philippe Lalevée
      a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:178bb794-0c71-b817-de81-62db30477175@emse.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      Hello,<br>
      While awaiting the response of Sebastian, please help me ;-)<br>
      because I could not <i>get the rtpsession object from the
        "internal-session" property on the rtpsession element</i>, I
      tried to intercept RTCP packets by setting a callback to sinks
      connected with RTCP streams, using:<br>
      <blockquote type="cite"><tt>gst_pad_add_probe(srcpad,
          GST_PAD_PROBE_TYPE_BUFFER,</tt><tt> (GstPadProbeCallback)
          rtcp_probe_cb, NULL, NULL);</tt><tt><br>
        </tt></blockquote>
      Is it the same as intercepting "on-{sending|receiving}-rtcp"
      signals?<br>
      <br>
      Thanks in advance,<br>
      Philippe<br>
      <br>
      <div class="moz-cite-prefix">Le 27/12/2018 à 15:49, Philippe
        Lalevée a écrit :<br>
      </div>
      <blockquote type="cite"
        cite="mid:260b3252-a40d-c30c-b6a5-ea564f8bd98d@emse.fr">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        Hello,<br>
        Thanks Sebastian for your reply.<br>
        <br>
        <div class="moz-cite-prefix">On 27/12/2018 at 10:23, Sebastian
          Dröge wrote :<br>
        </div>
        <blockquote type="cite"
cite="mid:3f9cad6ce2aaddbbb7938fac77b3f13599c074af.camel@centricular.com">
          <pre class="moz-quote-pre" wrap="">You can get the rtpsession object from the "internal-session" property
on the rtpsession element.</pre>
        </blockquote>
        Is that piece of code correct to associate a callback with the
        signal?<br>
        <blockquote><tt>static gboolean on_sending_rtcp_cb(GstElement
            *bin, guint sessid, GstBuffer *buffer, gboolean early,<br>
                                               GstElement *what_is_it)<br>
            GstElement *rtpbin;<br>
            GObject *session;<br>
            RTPSession *rtpsession;<br>
            ...<br>
            g_signal_emit_by_name(rtpbin, "get-internal-session", 0,
            &session);<br>
            g_object_get(session, "internal-session", &rtpsession);<br>
            g_signal_connect(rtpsession, "on-sending-rtcp",
            G_CALLBACK(on_sending_rtcp_cb), NULL);<br>
            ...<br>
          </tt></blockquote>
        Else could you give (me) an example of how to do that? <br>
        Best regards<br>
        Philippe<br>
        <br>
        <div class="moz-signature">-- <br>
          <b>Philippe Lalevée</b>, Mines Saint-Etienne<br>
        </div>
      </blockquote>
      <br>
      <div class="moz-signature">-- <br>
        <b>Philippe Lalevée</b><br>
        Directeur du campus GCP - Directeur du CMP<br>
        <b>Tél.</b> : 26715 (04 42 61 67 15) </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <b>Philippe Lalevée</b><br>
      Directeur du campus GCP - Directeur du CMP<br>
      <b>Tél.</b> : 26715 (04 42 61 67 15)
    </div>
  </body>
</html>