AW: Gstrtpbin - one RtpSession, several "on-new-ssrc" calls
Matthias Dodt
MDodt at xion-medical.com
Tue Sep 20 00:17:05 PDT 2011
Hi Marco!
Ahh yes - that makes perfect sense then. Thanks a lot!
Cheers,
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: 20 September 2011 05:50
An: Discussion of the development of and with GStreamer
Betreff: Re: Gstrtpbin - one RtpSession, several "on-new-ssrc" calls
Hi,
On Mon, Sep 19, 2011 at 5:36 PM, Matthias Dodt <MDodt at xion-medical.com> wrote:
> 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.
Right. My fault I didn't check deeper when reading the documentation (instead of the sources ;) ).
>
> 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)-
It is the pointer you set as user_data in:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html#gst-bus-add-watch
Regards
>
> 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.freedeskt
> op.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
>
>
>
> _______________________________________________
> 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