get rtcp packets from gst-rtsp-server

Oleg Konovalov oleg.konovalov at
Fri Oct 15 12:48:02 UTC 2021

Thanks, this is cleaner solution. What I'm doing looks bad, but works somehow.

Oleg K.
From: Nirbheek Chauhan <nirbheek.chauhan at>
Sent: Friday, October 15, 2021 3:40 PM
To: Oleg Konovalov <oleg.konovalov at>
Cc: Discussion of the development of and with GStreamer <gstreamer-devel at>
Subject: Re: get rtcp packets from gst-rtsp-server

On Thu, Oct 14, 2021 at 11:44 AM Oleg Konovalov
<oleg.konovalov at> wrote:
> But this looks kind of a workaround. But it is OK for me while testing some algo.
> If someone can provide a "right" solution without spending too much time would be interesting to know.

You can also do something like: gst_rtsp_media_get_element(), then
look at the element's parent(s) to get the pipeline for the media, and
then iterate elements inside that till you find the rtpbin, then look
for the rtcp srcpad(s) and add pad probes there. Should work fine. Not
sure if this is cleaner than what you are doing right now, though :-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list