get rtcp packets from gst-rtsp-server
nirbheek.chauhan at gmail.com
Fri Oct 15 12:40:40 UTC 2021
On Thu, Oct 14, 2021 at 11:44 AM Oleg Konovalov
<oleg.konovalov at seraphimas-hls.com> 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 :-)
More information about the gstreamer-devel