Hi, Stefan!<br><br>Thanks for you reply. So here is the pipe with two streams that dont work together:<br><br>gst-launch -v udpsrc port=5000 caps=&quot;application/x-rtp,media=audio,payload=3,clock-rate=8000,channels=1,encoding-name=GSM&quot; ! .recv_rtp_sink_0 gstrtpbin ! rtpgsmdepay ! gsmdec ! audioconvert ! pulsesink gstrtpbin name=rtpbin autoaudiosrc ! gsmenc ! rtpgsmpay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! identity ! udpsink port=5000 host=127.0.0.1<br>
<br>I do not get any error when running that pipe! But I cant hear anything when running it. However, when I separate the streams, like below, and run then on different terminals, that works(but that is like two pipes and I dont want two pipes). The audio is captured and sent and I hear myself as I talk.<br>
<br>receiver stream:<br>gst-launch -v udpsrc port=5000 caps=&quot;application/x-rtp,media=audio,payload=3,clock-rate=8000,channels=1,encoding-name=GSM&quot; ! .recv_rtp_sink_0 gstrtpbin ! rtpgsmdepay ! gsmdec ! audioconvert ! pulsesink<br>
<br>sender stream:<br>gst-launch -v gstrtpbin name=rtpbin autoaudiosrc ! gsmenc ! rtpgsmpay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! identity ! udpsink port=5000 host=127.0.0.1<br><br>As I said before, I do not get any error when running those streams in one pipeline, but I cant hear any audio sent through udp...<br>
<br> <br><div class="gmail_quote">2009/10/30 Rajesh Marathe <span dir="ltr">&lt;<a href="mailto:rmarathe@i-rode.com" target="_blank">rmarathe@i-rode.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi Stefan,<br>
<br>
Sorry to diverge slightly from the topic, but, I do have a query on two<br>
streams. I tried doing this using gstreamer:<br>
- Create two different pipelines for two streams. (Create different<br>
elements for each pipeline but these elements refer to same hardware units).<br>
- Play stream1 while stream2 is in PAUSED state.<br>
- After few seconds, PAUSE stream1 and move stream2 to PLAY state.<br>
-<br>
I notice that stream1 plays and pauses but stream2 does not play actually.<br>
<br>
Will the above scenario work and if yes, do you see anything that needs<br>
done apart from the above ?<br>
<br>
thanks and regards,<br>
<font color="#888888">Rajesh Marathe.<br>
</font><div><div></div><div><br>
On 10/30/2009 12:58 AM, Stefan Kost wrote:<br>
&gt; Marcelo de Sá Mendoza schrieb:<br>
&gt;<br>
&gt;&gt; Hi<br>
&gt;&gt;<br>
&gt;&gt; Is possible to have two streams( 1 sender 1 receiver ) or more, of audio<br>
&gt;&gt; in one pipeline only? I&#39;m trying to do that and I getting frustrated. I<br>
&gt;&gt; made two pipelines for each stream and worked cool, I hear the audio<br>
&gt;&gt; received from the host and the host hear what I talk. The thing is that<br>
&gt;&gt; I need to do that in ONE pipeline, but I can&#39;t. I know that two streams<br>
&gt;&gt; are possible in one pipeline, cause when I do the test below, it works:<br>
&gt;&gt;<br>
&gt;&gt; gst-launch -v filesrc location=notice.html ! identity ! udpsink<br>
&gt;&gt; host=127.0.0.1 port=6000 udpsrc port=6000 ! identity ! filesink<br>
&gt;&gt; location=notice2.html<br>
&gt;&gt;<br>
&gt;&gt; but when I change to pulsesrc/pulsesink that doesnt work. Works only in<br>
&gt;&gt; diferent pipelines. There&#39;s something else that I need to do?<br>
&gt;&gt;<br>
&gt; You can have as many streams in a pipe as you want. The above example is quite<br>
&gt; uncomplete though. You probably want to use rtp for sending audio over the<br>
&gt; network. Also if something does not work, tell us what errors you get. Otherwise<br>
&gt; we can&#39;t help.<br>
&gt;<br>
&gt; Stefan<br>
&gt;<br>
&gt;<br>
&gt;&gt; Thanks for the atention.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------------<br>
&gt;&gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
&gt;&gt; is the only developer event you need to attend this year. Jumpstart your<br>
&gt;&gt; developing skills, take BlackBerry mobile applications to market and stay<br>
&gt;&gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
&gt;&gt; <a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; gstreamer-devel mailing list<br>
&gt;&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
&gt;&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
&gt; is the only developer event you need to attend this year. Jumpstart your<br>
&gt; developing skills, take BlackBerry mobile applications to market and stay<br>
&gt; ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
&gt; <a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry(R) Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9 - 12, 2009. Register now!<br>
<a href="http://p.sf.net/sfu/devconference" target="_blank">http://p.sf.net/sfu/devconference</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br>