<div dir="ltr"><div><span class="gmail-im">Oh, my apologies, I can find "send-rtcp" and "on-sending-rtcp" signals in GstRTSPMediaStream::session object.<br><br></span></div><span class="gmail-im">Yurii<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-22 13:52 GMT+03:00 Yurii Monakov <span dir="ltr"><<a href="mailto:monakov.y@gmail.com" target="_blank">monakov.y@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Sebastian! Thank you for the answer.<span class=""><br><br>> See the "send-rtcp" and "on-sending-rtcp" signals on the rtpsession for details<br></span></div><div>Unfortunately I'm using gstreamer-0.10 (with RHEL 6) and gst-rsp-server-0.10.7 it does not have this signals.<br>But there are some callbacks (with gst_rtsp_session_stream_set_<wbr>callbacks). Can I use them instead of signals?<br></div><span class=""><div><br>> Generating RTCP outside the rtpsession and independent of that is not a good idea<br></div></span>My RTP  source is another gstreamer pipeline, which streams live video from workstations.<br></div>It uses gstrtpbin which provides RTCP Sender Reports. So I think that I should keep original RTCP data.<br><br></div>And why this is not a good idea? Does GStreamer RTSP server alter RTP timestamps?<br><br></div>Yurii<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-11-19 13:20 GMT+03:00 Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div class="m_-5136761337553948641HOEnZb"><div class="m_-5136761337553948641h5">On Thu, 2016-11-17 at 12:40 +0300, Yurii Monakov wrote:<br>
> Hi All!<br>
><br>
> I'm able to feed GStreamer RTSP server with H264 RTP stream:<br>
><br>
> ( udpsrc port=5544 caps="application/x-rtp,media=<wbr>(string)video,clock-<br>
> rate=(int)90000,encoding-name=<wbr>(string)H264,payload=(int)96"<br>
> name=pay0)<br>
><br>
> Everything works and clients are able to receive this stream. The<br>
> problem is that I need to transmit custom RTCP packets, which are<br>
> also generated on the feed side.<br>
><br>
> Is there any way to tell RTSP server to take RTCP packets from<br>
> external port and stop generating them internally?<br>
<br>
</div></div>You can hook into the RTCP machinery of the server and insert your own<br>
packets there. You'll have to write code for that though.<br>
<br>
See the "send-rtcp" and "on-sending-rtcp" signals on the rtpsession for<br>
details. This allows you to send whatever custom RTCP packets you want<br>
to add.<br>
<br>
<br>
Generating RTCP outside the rtpsession and independent of that is not a<br>
good idea as it will be very difficult to generate valid RTCP with<br>
regard to the actual media stream.<br>
<span class="m_-5136761337553948641HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a></font></span><br></div></div>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesk<wbr>top.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-dev<wbr>el</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>