<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sorry, I did not see the answer at the end of the message. Indeed, I
had forgotten to unmap the GstRTCPBuffer... I see now APP packets on
the talker side. Thank you very much.<br>
<br>
Finally, I wonder if I am not mistaken in the meaning of the
signals. Everything happens as if on-sending-rtcp was actually
called when receiving RTCP packets and vice versa for
on-receiving-rtcp. I will try by reversing the roles.<br>
<br>
Philippe<br>
<br>
<div class="moz-cite-prefix">Le 19/01/2019 à 18:29, Philippe Lalevée
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:57652cfe-9a92-0f4c-67a5-4966b44b986c@mines-stetienne.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi Nicolas,<br>
I agree that I would like to do is not public. But if we execute
"gst-inspect-1.0 rtpbin", we have an "element action"
(get-internal-session) which returns a RTPSession. In a previous
mail, I mentioned that include files to use RTPSession related
stuff are not present in libgstreamer-plugins-good1.0-dev package.<br>
<br>
What I am trying to do is to implement RTCP AVB (type 208) packets
(IEEE1733, see <a class="moz-txt-link-freetext"
href="http://www.networksorcery.com/enp/protocol/rtcp.htm"
moz-do-not-send="true">http://www.networksorcery.com/enp/protocol/rtcp.htm</a>
for instance). For that, my first idea was to use APP packets to
transmit AVB data from a talker to listeners, in order that talker
and listeners no longer use NTP, but PTP clock.<br>
<br>
As it's pretty urgent, I wanted to avoid developing gstreamer
extensions (anyway I do not have the skills for that). That's why
I try to use on-sending-rtcp signal, to retrieve before they are
sent the buffers of RTCP packets, and in them, to add APP packets
with the sequence of function calls, indicated in my mail.<br>
<br>
Would there be other ways to do that?<br>
Best<br>
Philippe<br>
<br>
Le 19/01/2019 à 17:38, Nicolas Dufresne a écrit :<br>
<blockquote type="cite"
cite="mid:b3c186ee083e9675ae49e232920058f0695461fb.camel@ndufresne.ca">
<pre class="moz-quote-pre" wrap="">Le samedi 19 janvier 2019 à 17:06 +0100, Philippe Lalevée a écrit :
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Hello
I still have problems when using on-sending-rtcp/on-receiving signals
(I would like to send RTCP packets of APP type).
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">The RTPSession API isn't public, I'm not sure it is correct to use this
from an application. I believe you should better describe what you are
trying to do. It might be described in the original thread, but you
seem to have create a new thread, which means it's harder to find the
context.
regards,
Nicolas
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">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.
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:
- gst_rtcp_buffer_map(buffer, GST_MAP_READWRITE, &rtcp)
- gst_rtcp_buffer_add_packet(&rtcp, GST_RTCP_TYPE_APP, &packet)
- gst_rtcp_packet_app_set_subtype(&packet, subtype)
- gst_rtcp_packet_app_set_ssrc(&packet, ssrc)
- gst_rtcp_packet_app_set_name(&packet, name)
- gst_rtcp_packet_app_set_data_length (&packet, len)
- data = gst_rtcp_packet_app_get_data(&packet)
- GST_WRITE_UINT32_BE(data, value)
- ...
- return TRUE
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?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">Did you unmap you RtcpBuffer ? What is this function you are
implementing ? What is it supposed to do ?
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Thank you for your help
Philippe Lalevée
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<table style="border-collapse: collapse; border: 1px solid

rgb(221,
 221, 221); margin: 0px; padding: 0px;

border-spacing: 0px;
 font-size: 12px; width: auto;
color:
 rgb(51, 51, 51); font-family:
 Verdana,
Geneva, Arial,
 Helvetica, sans-serif; font-style:
normal;
 font-variant:
 normal; font-weight: normal;
letter-spacing: normal;

 line-height: 18px; orphans:
auto; text-align: start;
 text-indent:
 0px;
text-transform: none; white-space:
 normal; widows:
1;
 word-spacing: 0px;
 -webkit-text-stroke-width:
0px;
 background-color: rgb(255,
 255, 255);"
cellpadding="2">
<tbody style="border: 0px; margin: 0px; padding: 0px;">
<tr style="border: 0px; margin: 0px; padding: 0px;">
<td style="border: 0px; margin: 0px; padding: 0.75em 1em;"
valign="center"><img alt="Logo MINES Saint-Étienne"
src="cid:part4.53C2D010.FC5A3E5B@mines-stetienne.fr"
style="border: 0px; margin: 0px; padding: 0px
10px;

 height: auto; max-width: 100%;"
class="" height="116" width="140"></td>
<td style="border: 0px; margin: 0px; padding: 0.75em

1em;
 white-space: normal;" nowrap="nowrap"
align="left" valign="bottom">
<div style="border: 0px; margin: 0px; padding:
0px;

 font-style: normal; font-variant:
normal;
 font-weight:
 normal; font-stretch:
normal;
 font-size: 11px;
 line-height: 1.2;
font-family:
 sans-serif;">
<div style="border: 0px; margin: 0px; padding:
0px;
 color:
 rgb(102, 51, 153);
font-weight: bold;"><strong style="border: 0px;
margin: 0px; padding: 0px;

 font-weight:
bold;">Philippe LALEVÉE</strong></div>
Directeur du Campus Georges Charpak Provence<br>
Directeur du <a href="http://cmp.emse.fr"
moz-do-not-send="true">Centre Microélectronique de
Provence</a><br>
Président de la Plate-forme <a
href="http://www.pf-micropacks.org"
moz-do-not-send="true">Micro-PackS</a><br>
<div style="border: 0px; margin: 0px; padding: 5px
0px;">+33 4 42 61 67 15 / +33 6 23 02 15 01<br>
<a href="mailto:philippe.lalevee@mines-stetienne.fr"
style="border: 0px; margin: 0px; padding:
0px;
 color:
 rgb(95, 37, 159);

text-decoration:
 none;"
moz-do-not-send="true">philippe.lalevee@mines-stetienne.fr</a><br>
<a href="https://twitter.com/CampusCharpak"
style="border:
 0px; margin: 0px;

padding: 0px; color: rgb(95, 37,

159);
 text-decoration: none;"
moz-do-not-send="true">@CampusCharpak</a> <a
href="https://twitter.com/hashtag/ISMIN"
style="border:
 0px; margin: 0px;

padding: 0px; color: rgb(95, 37,

159);
 text-decoration: none;"
moz-do-not-send="true">#ISMIN</a> <a
href="https://twitter.com/p_lalevee"
style="border:
 0px; margin: 0px;

padding: 0px; color: rgb(95, 37,

159);
 text-decoration: none;"
moz-do-not-send="true">@p_lalevee</a></div>
<div style="border: 0px; margin: 0px; padding:
5px
 0px;
 color: rgb(153, 153, 153);">Campus
Georges Charpak Provence<br>
880 route de Mimet, F-13541 Gardanne Cedex</div>
<div style="border: 0px; margin: 0px; padding:
0px;

 font-weight: bold;"> <a
href="http://www.mines-stetienne.fr/"
style="border:
 0px; margin: 0px; padding:
0px;
 color: rgb(95, 37,
 159);

text-decoration:
 none;"
moz-do-not-send="true">www.mines-stetienne.fr</a>
<a href="https://twitter.com/MINES_StEtienne"
style="border:
 0px; margin: 0px; padding:
0px;
 color: rgb(95, 37,
 159);
text-decoration:
 none;"
moz-do-not-send="true">@MINES_StEtienne</a></div>
<div style="border-width: 1px 0px 0px;

border-top-style:
 solid; border-top-color:

rgb(221, 221, 221); margin: 0px;
 padding:
5px
 0px; font-style: normal; font-variant:

normal;
 font-weight: normal; font-stretch:
normal;

 font-size: 11px; line-height: 1.2;
font-family:

 sans-serif;">Assistante CGCP
: <a
href="mailto:lisette.masson@mines-stetienne.fr"
moz-do-not-send="true">Lisette MASSON</a> (+33
442616620)<br>
Assistante CMP : <a
href="mailto:veronique.villareal@mines-stetienne.fr"
moz-do-not-send="true">Véronique VILLARÉAL</a> (+33
442616610)<br>
</div>
</div>
</td>
<td style="border: 0px; margin: 0px; padding: 0.75em

1em;
 white-space: normal;" nowrap="nowrap"
align="left" width="194" valign="center">
<div style="border-width: 0px 0px 0px 1px;


border-left-style: solid; border-left-color:
rgb(221,
 221,
 221); margin: 0px; padding:
0px 10px 0px 20px;
 font-style:
 normal;
font-variant: normal;
 font-weight: normal;

font-stretch: normal;
 font-size: 12px;
line-height: 1.5;
 font-family:
 sans-serif;
color: rgb(153, 153, 153);
 min-width:

194px;"><img shrinktofit="true" alt="Inspiring

Innovation - Since
 1816"
src="http://www.emse.fr/signature-mail/Inspiring_Innovation_Since_1816.png"
style="border: 0px; margin: 0px; padding: 0px;

height:
 auto; max-width: 100%;"
moz-do-not-send="true" height="47" width="164"></div>
</td>
</tr>
</tbody>
</table>
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<title></title>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<table style="border-collapse: collapse; border: 1px solid
rgb(221,
 221, 221); margin: 0px; padding: 0px;
border-spacing: 0px;
 font-size: 12px; width: auto; color:
rgb(51, 51, 51); font-family:
 Verdana, Geneva, Arial,
Helvetica, sans-serif; font-style: normal;
 font-variant:
normal; font-weight: normal; letter-spacing: normal;

line-height: 18px; orphans: auto; text-align: start;
text-indent:
 0px; text-transform: none; white-space:
normal; widows: 1;
 word-spacing: 0px;
-webkit-text-stroke-width: 0px;
 background-color: rgb(255,
255, 255);" cellpadding="2">
<tbody style="border: 0px; margin: 0px; padding: 0px;">
<tr style="border: 0px; margin: 0px; padding: 0px;">
<td style="border: 0px; margin: 0px; padding: 0.75em 1em;"
valign="center"><img alt="Logo MINES Saint-Étienne"
src="cid:part4.53C2D010.FC5A3E5B@mines-stetienne.fr"
style="border: 0px; margin: 0px; padding: 0px 10px;

height: auto; max-width: 100%;" height="116" width="140"></td>
<td style="border: 0px; margin: 0px; padding: 0.75em
1em;
 white-space: normal;" nowrap="nowrap"
align="left" valign="bottom">
<div style="border: 0px; margin: 0px; padding: 0px;

font-style: normal; font-variant: normal;
font-weight:
 normal; font-stretch: normal;
font-size: 11px;
 line-height: 1.2; font-family:
sans-serif;">
<div style="border: 0px; margin: 0px; padding: 0px;
color:
 rgb(102, 51, 153); font-weight: bold;"><strong
style="border: 0px; margin: 0px; padding: 0px;

font-weight: bold;">Philippe LALEVÉE</strong></div>
Directeur du Campus Georges Charpak Provence<br>
Directeur du <a href="http://cmp.emse.fr">Centre
Microélectronique de Provence</a><br>
Président de la Plate-forme <a
href="http://www.pf-micropacks.org">Micro-PackS</a><br>
<div style="border: 0px; margin: 0px; padding: 5px 0px;">+33
4 42 61 67 15 / +33 6 23 02 15 01<br>
<a href="mailto:philippe.lalevee@mines-stetienne.fr"
style="border: 0px; margin: 0px; padding: 0px;
color:
 rgb(95, 37, 159);
text-decoration:
 none;">philippe.lalevee@mines-stetienne.fr</a><br>
<a href="https://twitter.com/CampusCharpak"
style="border:
 0px; margin: 0px;
padding: 0px; color: rgb(95, 37,
159);
 text-decoration: none;">@CampusCharpak</a>
<a href="https://twitter.com/hashtag/ISMIN"
style="border:
 0px; margin: 0px;
padding: 0px; color: rgb(95, 37,
159);
 text-decoration: none;">#ISMIN</a>
<a href="https://twitter.com/p_lalevee"
style="border:
 0px; margin: 0px;
padding: 0px; color: rgb(95, 37,
159);
 text-decoration: none;">@p_lalevee</a></div>
<div style="border: 0px; margin: 0px; padding: 5px
0px;
 color: rgb(153, 153, 153);">Campus Georges
Charpak Provence<br>
880 route de Mimet, F-13541 Gardanne Cedex</div>
<div style="border: 0px; margin: 0px; padding: 0px;

font-weight: bold;"> <a
href="http://www.mines-stetienne.fr/"
style="border:
 0px; margin: 0px; padding: 0px;
color: rgb(95, 37,
 159);
text-decoration:
 none;">www.mines-stetienne.fr</a>
<a href="https://twitter.com/MINES_StEtienne"
style="border:
 0px; margin: 0px; padding: 0px;
color: rgb(95, 37,
 159); text-decoration:
none;">@MINES_StEtienne</a></div>
<div style="border-width: 1px 0px 0px;
border-top-style:
 solid; border-top-color:
rgb(221, 221, 221); margin: 0px;
 padding: 5px
0px; font-style: normal; font-variant:
 normal;
font-weight: normal; font-stretch: normal;

font-size: 11px; line-height: 1.2; font-family:

sans-serif;">Assistante CGCP : <a
href="mailto:lisette.masson@mines-stetienne.fr">Lisette
MASSON</a> (+33 442616620)<br>
Assistante CMP : <a
href="mailto:veronique.villareal@mines-stetienne.fr">Véronique
VILLARÉAL</a> (+33 442616610)<br>
</div>
</div>
</td>
<td style="border: 0px; margin: 0px; padding: 0.75em
1em;
 white-space: normal;" nowrap="nowrap"
align="left" width="194" valign="center">
<div style="border-width: 0px 0px 0px 1px;

border-left-style: solid; border-left-color: rgb(221,
221,
 221); margin: 0px; padding: 0px 10px 0px 20px;
font-style:
 normal; font-variant: normal;
font-weight: normal;
 font-stretch: normal;
font-size: 12px; line-height: 1.5;
 font-family:
sans-serif; color: rgb(153, 153, 153);
 min-width:
194px;"><img shrinktofit="true" alt="Inspiring
Innovation - Since
 1816"
src="http://www.emse.fr/signature-mail/Inspiring_Innovation_Since_1816.png"
style="border: 0px; margin: 0px; padding: 0px;
height:
 auto; max-width: 100%;" height="47"
width="164"></div>
</td>
</tr>
</tbody>
</table>
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<title></title>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
</div>
</div>
</div>
</div>
</body>
</html>