Remco B. Brink
2004-Aug-06 14:23 UTC
[icecast] Can't get ices to work on secondary audio card
<quote who="adam leigh">> > On Wed, 2003-06-04 at 22:01, adam leigh wrote: > > > > > When broadcasting live media off of any sound card other than the > > > primary(Default, aka: /dev/dsp) sound device I only end up > > > broadcasting silence. > > > > so there's a connection to icecast being maintained and icecast > > shows a stream with so many listeners (status.xsl) ? > > That's right. Icecast recognizes the stream and the status.xsl page > updates properly to reflect the attempts to connect I make.Are you sure that the user accessing the secondary sound device actually has rights to access that device? If that user doesn't, you'll end up streaming silence - resulting in the problem you're describing. Your problem is not on the Icecast server, but on the program you use to stream *towards* the Icecast server. Either permission problems or your recording device is somehow configured wrong. -rbb -- Remco B. Brink -- Information Systems Developer, Opera Software ASA Personal site at http://rc6.org - PGP key at http://rc6.org/rbb.pgp --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> <quote who="adam leigh"> > > > That's right. Icecast recognizes the stream and the status.xsl page > > updates properly to reflect the attempts to connect I make. > > Are you sure that the user accessing the secondary sound device actually > has rights to access that device?For testing purposes (and because I'm pretty careless most of the time) I'm running everything as root, so I wouldn't think permissions is the problem. Now, Icecast isn't running on root, but on it's own limited user, but, you followed up with...> Your problem is not on the Icecast server, but on the program you use to > stream *towards* the Icecast server. Either permission problems or > your recording device is somehow configured wrong.So if it's not the Icecast server, then ices has all the permissions it wants. But, for thoroughness sake, I'm going to alter the permissions on the dsp devices right now. Oh, and as for configuration... well, I'm not really sure. THis card seems to be from some sort of age bordering on the paleolithic, so I'm willing to acknoledge that it's configured wrong but in all other applications, the cards are working properly so I'm weary. Thanks for the tip! --Adam> -rbb > > -- > Remco B. Brink -- Information Systems Developer, Opera Software ASA > Personal site at http://rc6.org - PGP key at http://rc6.org/rbb.pgp > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> On Wed, 2003-06-04 at 22:01, adam leigh wrote: > > > When broadcasting live media off of any sound card other than the primary > > (Default, aka: /dev/dsp) sound device I only end up broadcasting silence. > > so there's a connection to icecast being maintained and icecast shows a > stream with so many listeners (status.xsl) ?That's right. Icecast recognizes the stream and the status.xsl page updates properly to reflect the attempts to connect I make.> if that is correct then email the ices log file to me.okay, here you go: ices-live-2.log --- [2003-06-05 06:22:51] INFO ices-core/main ices started... [2003-06-05 06:22:51] INFO input-oss/oss_open_module Opened audio device /dev/dsp4 at 2 channel(s), 44100 Hz [2003-06-05 06:22:51] INFO input-oss/oss_open_module Started metadata update thread [2003-06-05 06:22:51] INFO signals/signal_usr1_handler Metadata update requested [2003-06-05 06:22:51] WARN metadata/metadata_thread_signal Failed to open file test for metadata update: No such file or directory [2003-06-05 06:22:51] INFO audio/resample_initialise Initialised resampler for 2 channels, from 44100 Hz to 22050 Hz [2003-06-05 06:22:51] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channel(s), 22050 Hz, quality 0.000000 [2003-06-05 06:22:51] INFO stream/ices_instance_stream Connected to server: localhost:8000/2 ---- IT doesn't seem like much to me but maybe you'll notice something I dont. Thanks again! --Adam> karl. > > > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.