Hi Tom:<br>We were trying to do something similar to what you explain here (search for a mail in the list with subject=&quot;Switching between different audio streams over RTSP stream&quot;). <br>After some trials with input-selector, we have tried using an &quot;adder&quot; with better results. Maybe this is valid for you too.<br>
<br>Regards,<br>Alex<br><br><br><div class="gmail_quote">On Sat, Jan 23, 2010 at 2:05 AM, GT6 <span dir="ltr">&lt;<a href="mailto:gt6@gmx.net">gt6@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello there,<br>
<br>
I&#39;m trying to use input-selector to switch between two different sources, while not actually stopping the stream. In my specific use case, I have one audiotestsrc wave=4, which is just silence, and a &quot;filesrc | decodebin&quot;. These should be switched by the input-selector. From there, the stream gets vorbisencoded and sent to a multifdsink (which is then served as a file by my app for people to connect to). The purpose of this is that clients can connect to the file and listen to it - as in a streaming radio, and even if nothing is playing, the stream will still be stable and not cut off.<br>

<br>
But any of this doesn&#39;t really matter for the basics:<br>
<br>
In this example script, which can be run as is (maybe change the sink type from osssink to alsasink or whatever you need), there&#39;s a low beep and a high beep. What do I have to do to switch from the low beep to the high beep? No matter how I arrange the block() and switch() emissions, the second beep never gets through. Pastebin: <a href="http://pastie.org/790685" target="_blank">http://pastie.org/790685</a> and it&#39;s also attached.<br>

<br>
Could someone please be so kind and explain to me in what order the block/switch stuff needs to be called for this to work?<br>
<br>
Thanks a lot.<br>
<br>
Regards,<br>
Tom<br>
<br>------------------------------------------------------------------------------<br>
Throughout its 18-year history, RSA Conference consistently attracts the<br>
world&#39;s best and brightest in the field, creating opportunities for Conference<br>
attendees to learn about information security&#39;s most important issues through<br>
interactions with peers, luminaries and emerging and established companies.<br>
<a href="http://p.sf.net/sfu/rsaconf-dev2dev" target="_blank">http://p.sf.net/sfu/rsaconf-dev2dev</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Álex Ugarte Iñiguez de Heredia<br>Investigador / Researcher<br>TV Digital y Servicios Multimedia / Digital TV and Multimedia Services<br><br>Vicomtech - Visual Interaction Communication Technologies<br>
Mikeletegi Pasealekua, 57 - Parque Tecnológico<br>20009 Donostia - San Sebastián - Spain<br>Tel: +[34] 943 30 92 30<br>Fax: +[34] 943 30 93 93<br>e-mail: <a href="mailto:augarte@vicomtech.org">augarte@vicomtech.org</a><br>
<a href="http://www.vicomtech.org">www.vicomtech.org</a><br><br>*** member of INI-GraphicsNet ****<br><a href="http://www.inigraphics.net">www.inigraphics.net</a><br>*** member of IK4 Research Alliance ****<br><a href="http://www.ik4.es">www.ik4.es</a><br>
<br>-----------------------------------------------------<br>Vicomtech is an ISO 9001:2000 certified institute<br>-----------------------------------------------------<br>