[gst-devel] problem identifying flows after rtpbin

Wim Taymans wim.taymans at gmail.com
Tue May 5 18:09:45 CEST 2009


On Tue, 2009-05-05 at 16:23 +0200, Antonio Marqués wrote:
> Hello,
> 
> I want to receive two different RTP flows from different computers in
> just one receiver. I want to use rtpbin to synchronize flows from the
> same computer. 
> The problem comes just outside the gstrtpbin plugin, as I want to know
> which flows comes from. I would like to get the value of "cname" of each
> flow, but I don't see the way because that information is used inside
> the plugin to synchronise flows. The only information I can get is the
> "ssrc" field because of the name of the srcs pads of rtpbin, but I don't
> think it es enough for me (every payloader has a different random ssrc
> value).
> Does somebody know how to identify the origin of each flow (cname)
> outside the gstrtpbin plugin? 

A couple of ways:

 - you get application messages when the SDES changes, it includes the
   SSRC, session id and the CNAME
 - you can get a list of all active sources in a session, then get the
   CNAME from those objects.

Wim

> Any help would be apreciated.
> 
> Best regards.





More information about the gstreamer-devel mailing list