<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I haven't done this exactly, but I have received an RTP stream from one endpoint and sent to another successfully. I think the issue you have is that you're only using a single gstrtpbin that you are trying to use for both directions at once - try using one for sending and another one for receiving.<div><br></div><div>Perhaps you could also try writing separate sender and receiver commands and then merge them. When merging you need to ensure that the elements are not named the same thing.<br><div><br></div><div>I hope this of some help.</div><div><div><div><div><div><div><br><div>> Date: Tue, 5 Mar 2013 18:20:38 -0800 (PST)<br>> From: zgd <zhuangzhida1989@gmail.com><br>> To: gstreamer-devel@lists.freedesktop.org<br>> Subject: can receive and send videostream in gstrtpbin in one<br>> pipeline and how to do that?<br>> Message-ID: <1362536438496-4658910.post@n4.nabble.com><br>> Content-Type: text/plain; charset=us-ascii<br>> <br>> Hello, I want to use gstrtpbin to receive and send videostream simultaneously<br>> . can I use one rtpbin to do this ? I try to do this and the following is my<br>> pipeline:<br>> gst-launch -v gstrtpbin name=rtpbin \<br>> v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=15/1 ! videorate<br>> ! ffmpegcolorspace ! x264enc ! rtph264pay ! rtpbin.send_rtp_sink_0 \<br>> rtpbin.send_rtp_src_0 ! udpsink port=5000 host=192.168.1.220<br>> name=vrtpsink\<br>> rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=192.168.1.220 sync=false<br>> async=false name=vrtcpsink \<br>> udpsrc port=5003 name=vrtpsrc ! rtpbin.recv_rtcp_sink_0 \<br>> udpsrc port=5000<br>> caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=H264" !<br>> rtpbin.recv_rtp_sink_1 rtbin. ! rtph264depay ! ffdec_h264 ! xvimagesink \<br>> udpsrc port=5001 ! rtbin.recv_rtcp_sink_1 \<br>> rt.send_rtcp_src_1 ! udpsink port=5003 host=192.168.1.220 sync=false<br>> async=false \<br>> but it seems that it does't work and I grab the network packet and don't<br>> find the packet it send. What's the problem? What should I do .<br>> Thanks.<br>> <br></div></div></div></div></div></div></div></div> </div></body>
</html>