AW: Gstrtpbin - one RtpSession, several "on-new-ssrc" calls

Matthias Dodt MDodt at xion-medical.com
Mon Sep 19 08:36:17 PDT 2011


Hi Marco!

Thanks for your reply too. The "sdes" property only outputs the sdes of the sdes beeing send to other participants, but not the one beeing received.

I understand that user_data should be any data I want to use, but since the signal get's emitted by the GstBus I see no way how this pointer can be used (except for the cases where I emit the signal myself)-

Best,

mat

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel-bounces+mdodt=xion-medical.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+mdodt=xion-medical.com at lists.freedesktop.org] Im Auftrag von Marco Ballesio
Gesendet: 17 September 2011 09:48
An: Discussion of the development of and with GStreamer
Betreff: Re: Gstrtpbin - one RtpSession, several "on-new-ssrc" calls

Hi,

On 9/15/11, Matthias Dodt <MDodt at xion-medical.com> wrote:
> Hey guys!
>
> Is there an implementation to access the specific sdes-GstStructure 
> for each ssrc announced by the "on-new-ssrc" signal?

what about the "sdes" property in gstrtpbin?

>
> The on-new-ssrc function has only the id of ssrc passed (guint ssrc) - 
> but i need the RTCP-sdes message of the corresponding ssrc to extract 
> CNAME and NAME of that ssrc.
>
> The doc states on-new-ssrc as follows:
>
> void                user_function                      (GstRtpSession
> *sess,
>                                                         guint ssrc,
>                                                         gpointer
> user_data)
>
> And what does user_data contain?

as "user_function" is a callback, user_data is a pointer to whatever extra data you might want to access there.

Regards

>
> Thanks!
>
> mat
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list