Don&#39;t mean to be a pest, but anyone have any insight?<div><br></div><div><span class="Apple-style-span" style="font-family: Times; font-size: medium; "><pre style="white-space: pre-wrap; "><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Hello all,</blockquote><blockquote><br></blockquote><blockquote>I&#39;ve spent a long time figuring out Gstreamer and searching the Internet for</blockquote><blockquote>answers. This mailing list has been very helpful, but doesn&#39;t have the</blockquote>
<blockquote>answer I&#39;m looking for...</blockquote><blockquote><br></blockquote><blockquote>Some background: I&#39;m using gst-rtsp-server to create a way to listen to a</blockquote><blockquote>network of computers remotely. They&#39;re using Mandriva 2008.0. They cannot be</blockquote>
<blockquote>upgraded to any newer version, and must all be kept identical. I&#39;m not 100%</blockquote><blockquote>sure on the hardware of the machines, but they are decent machines. Anyway,</blockquote><blockquote>on the test machine I have, which is similar to the network machines, I have</blockquote>
<blockquote>successfully compiled the following packages:</blockquote><blockquote>gstreamer-0.10.23</blockquote><blockquote>gst-plugins-base-0.10.23</blockquote><blockquote>gst-plugins-good-0.10.15</blockquote><blockquote>
gst-plugins-bad-0.10.12</blockquote><blockquote>gst-rtsp-0.10.4</blockquote><blockquote><br></blockquote><blockquote>My sound card is a SoundBlaster Live! EMU10k1, which appears to be fully</blockquote><blockquote>supported by this version of ALSA and OSS. I have successfully compiled,</blockquote>
<blockquote>run, and connected to the server, which is essentially a modified version of</blockquote><blockquote>the test-ogg.c server using my own pipeline with Vorbis. Gstreamer grabs the</blockquote><blockquote>audio in from the sound card and then makes it so that it can be heard via</blockquote>
<blockquote>the network (or Internet). Here is the pipeline:</blockquote><blockquote>alsasrc ! audio/x-raw-int, endianness=1234, signed=true, width=16,</blockquote><blockquote>rate=44100, channels=2 ! audioconvert ! vorbisenc quality=0.6 ! queue !</blockquote>
<blockquote>rtpvorbispay name=pay0 pt=127</blockquote><blockquote><br></blockquote><blockquote>The problem lies in the fact that I can only have one person connect at a</blockquote><blockquote>time before the server throws the following error:</blockquote>
<blockquote>** (mand-test:4510): WARNING **: failed to link stream 0</blockquote><blockquote>** (mand-test:4510): WARNING **: 0x8124090: got error Could not open audio</blockquote><blockquote>device for recording. Device is being used by another application.</blockquote>
<blockquote>(gstalsasrc.c(630): gst_alsasrc_open ():</blockquote><blockquote>/GstPipeline:media-pipeline/GstBin:bin1/GstAlsaSrc:alsasrc1:</blockquote><blockquote>Device &#39;default&#39; is busy)</blockquote><blockquote>** (mand-test:4510): WARNING **: failed to preroll pipeline</blockquote>
<blockquote><br></blockquote><blockquote>I get the same error if I switch to (T)OSS (as Mandriva will let me change</blockquote><blockquote>back). I noticed that there is no &quot;failed to link stream 0&quot; this way,</blockquote>
<blockquote>though:</blockquote><blockquote>** (mand-test:5343): WARNING **: 0x81224a0: got error Could not open audio</blockquote><blockquote>devie for recording. (gstosssrc.c(383): gst_oss_src_open ():</blockquote><blockquote>
/GstPipeline:media-pipline/GstBin:bin1/GstOssSrc:osssrc1:</blockquote><blockquote>Unable to open device /dev/dsp for recording: Device or resource busy)</blockquote><blockquote>** (mand-test:5343): WARNING **: failed to preroll pipeline</blockquote>
<blockquote><br></blockquote><blockquote>I have set in the program gst_rtsp_media_factory_set_shared (factory, TRUE);</blockquote><blockquote>It hasn&#39;t bought me much. The odd part of this is that I can have 2 or 3</blockquote>
<blockquote>clients connect from *within* my network without a problem. If I have people</blockquote><blockquote>connect from *outside* my network, it only allows one person to connect at a</blockquote><blockquote>time. I don&#39;t believe it is a firewall issue, as I have tried two different</blockquote>
<blockquote>routers and I have opened up the necessary ports. Another odd note is that</blockquote><blockquote>if I have all the local clients disconnect and then have an &quot;outside&quot; client</blockquote><blockquote>
connect, I get this error:</blockquote><blockquote>** (mand-test:4510): WARNING **: failed to link stream 0</blockquote><blockquote>** (mand-test:4510): WARNING **: 0x8124090: got error Could not get/set</blockquote><blockquote>
settings from/on resource. (gstmultiudpsink.c(652):</blockquote><blockquote>gst_multiudpsink_init_send ():</blockquote><blockquote>/GstPipeline:media-pipeline/GstMultiUDPSink:multiudpsink9:</blockquote><blockquote>Could not set broadcast socket option (9): Bad file descriptor)</blockquote>
<blockquote>** (mand-test:4510): WARNING **: failed to preroll pipeline</blockquote><blockquote><br></blockquote><blockquote>I have had the same code run perfectly on a Kubuntu 10.10 machine with</blockquote><blockquote>PulseAudio and with the latest version of Gstreamer.</blockquote>
<blockquote><br></blockquote><blockquote>Currently, ARTS is enabled, but it makes no difference if it is disabled or</blockquote><blockquote>enabled (I know that it can be a source of problems). ALSA is version</blockquote>
<blockquote>1.0.14. It also makes no difference if I assign a device after alsasrc, as</blockquote><blockquote>it still returns the same error.</blockquote><blockquote><br></blockquote><blockquote>I can provide any other information anyone may need. I hope that someone can</blockquote>
<blockquote>help, despite the fact that this is dated. I&#39;ve tried just about anything</blockquote><blockquote>and nothing changes the outcome.</blockquote><blockquote><br></blockquote><blockquote>I appreciate the help and feedback on this!</blockquote>
<blockquote><br></blockquote><blockquote>Thanks,</blockquote><blockquote>Chad</blockquote></pre></span></div>