<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello<br>
    I still have problems when using on-sending-rtcp/on-receiving
    signals (I would like to send RTCP packets of APP type). <br>
    <br>
    After having configured callbacks both for these signals (on the
    rtpsession object as mentioned by Sebastian) and for probes in rtcp
    pads, I have the following behavior on the talker side: in the two
    callbacks, I only have RR and SDES packets, and never SR packets,
    while I see SR packets with the probe callback, and whereas I see
    them in the listener side in the "on_receiving_rtcp" callback.
    Symmetrically, I have the same problem on the listener side.<br>
    <br>
    Another problem is that APP packets are not transmitted from the
    talker to the listener. Here is shortened the sequence of
    instructions called in the on-sending-rtcp callback function:<br>
    - gst_rtcp_buffer_map(buffer, GST_MAP_READWRITE, &rtcp)<br>
    - gst_rtcp_buffer_add_packet(&rtcp, GST_RTCP_TYPE_APP,
    &packet)<br>
    - gst_rtcp_packet_app_set_subtype(&packet, subtype)<br>
    - gst_rtcp_packet_app_set_ssrc(&packet, ssrc)<br>
    - gst_rtcp_packet_app_set_name(&packet, name)<br>
    - gst_rtcp_packet_app_set_data_length (&packet, len)<br>
    - data = gst_rtcp_packet_app_get_data(&packet)<br>
    - GST_WRITE_UINT32_BE(data, value)<br>
    - ...<br>
    - return TRUE<br>
    <br>
    Do I have to do something special at the end of the function, before
    the return instruction, for the packet to be taken into account?
    otherwise what could be the problem?<br>
    <br>
    Thank you for your help<br>
    Philippe LalevĂ©e<br>
    <div class="moz-signature"><br>
      <br>
    </div>
  </body>
</html>