[gst-devel] GstRtpBin Internals

Wes Miller wmiller at sdr.com
Mon Nov 15 21:11:16 CET 2010


Hi All,

I have a lovely gstrtpbin pipe that sends and receives audio.  It also sends
and receives RTCP packets but I am not sure just what that means and what to
do with them..


I am trying to use the same pipeline on two machines to make what amounts to
a two way always live intercom.  I am using "1" for my session number.





                                                 .-------.
 ......... udpsrc port 5002---> recv_rtp_sink_1  |  gst  | recv_rtp_src_1
-----> ... speakers
 : _______ udpsrc port 5007---> recv_rtcp_sink_1 |  rtp  |
 : |                                             |  bin  |
 : |          microphone ... --> send_rtp_sink_1 |  # 1  | send_rtp_src_1
---> udpsink port 5002 ........
 : |                                             |       | send_rtcp_src_1
--> udpsink port 5003 ---.  /
 : |                                             '-------'                                        
/  /
 : |                                                                                             
/  /
 : |                                                                                            
/  /
 : |  
.________________________________________________________________________________________/ 
/
 : |   |
........................................................................................./
 : |   | :
 : |   | :
 : |   | :                                       .-------.
 : |   | :. udpsrc port 5002---> recv_rtp_sink_1 |  gst  | recv_rtp_src_1
-----> ... speakers
 : |   |___ udpsrc port 5007 -> recv_rtcp_sink_1 |  rtp  |
 : |                                             |  bin  |
 : |          microphone ... --> send_rtp_sink_1 |  # 2  | send_rtcp_src_1
--> udpsink port 5003 ______
 : |                                             |       | send_rtp_src_1
---> udpsink port 5002 __   /
 : |                                             '-------'                                       
/  /
 : |                                                                                            
/  /
 :
|____________________________________________________________________________________________/ 
/

:................................................................................................/





If I connect my send_rtcp_src_1 (on GstRtpBin #1)  pad's output through the
network (udpsink to udpsrc) and feed it in to the recv_rtvp_sink_1 pad on on
GstRtpBin #2, what will GstRtpBin #2 do with that information?  DOes it
understand that it describes the RTP data coming into recv_rtp_sink_1 and
automatically adjust the received stream?  Or does it just map the
information back out (I guess) recv_rtcp_src_1 where I can process it..


If I am to process it, do I need to hook the stream to an identity or
appsink to get at its contents and parse them into a form to be sent out as
events to ... well, to who?..


Any help would be appreciated.  I have spent hours googling this and finding
little nad still more time reading the old gstreamer fora.  Lots of
interesting but not directly related discussion..


Warmly,.


Wes.




-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GstRtpBin-Internals-tp3043711p3043711.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101115/a324dd89/attachment.htm>


More information about the gstreamer-devel mailing list