get rtcp packets from gst-rtsp-server

Oleg Konovalov oleg.konovalov at seraphimas-hls.com
Fri Oct 15 12:48:02 UTC 2021


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

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

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 :-)

Cheers,
Nirbheek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211015/33759160/attachment.htm>


More information about the gstreamer-devel mailing list