[icecast] Problem with dual streaming

Robin P. Blanchard Robin_Blanchard at gactr.uga.edu
Thu Jan 10 17:22:01 UTC 2002



> In order to feed the two streams using two different sound sources, I've
> used the (not documented) sound_device entry in the liveice configuration
> file.
> I've set up two different configuration files, each one especifying a
> sound_device and  mountpoint.
> 
> In my tests I can run liveice using any of the configuration files and it
> works perfectly, feeding the sound from the corresponding sound card into
> the specified mountpoint.
> 
> The problem is, if I try to run two instances of liveice at the same time,
> each one using a configuration file, the audio messes up and starts
> skipping.
> 
> At first it seemed the machine could not handle the encoding of two streams
> at the same time, but making some vmstat statistic revealed the CPU was 90%
> iddle, and the I/O was acceptable.
> 
> I would appreciate if anyone can help me to figure out what could be wrong.
> 
> I would also like to know if any one of you knows if liveice is capable of
> handling two instances running at the same time, since that could be an
> explanation to the problem.

Perhaps you can move the "sound_device" config option to an
"encoder_stream_set" sub-section? Don't know, though. I imagine the
resulting config would be along the lines of:

ENCODER_STREAM_SET 0
SOUNDCARD
SOUND_DEVICE /dev/dspW0
FULL_DUPLEX
SAMPLE_RATE 22050
BITRATE 16000
MONO
MOUNTPOINT 0
URL http://URL0

ENCODER_STREAM_SET 1
SOUNDCARD
SOUND_DEVICE /dev/dspW1
FULL_DUPLEX
SAMPLE_RATE 22050
BITRATE 16000
MONO
MOUNTPOINT 1
URL http://URL1

But I have no idea if the 2-5th lines of each section are valid
"sub-section" declarations....


-- 
------------------------------------
Robin P. Blanchard
IT Program Specialist
Georgia Center for Continuing Ed.
fon: 706.542.2404 fax: 706.542.6546
email: Robin_Blanchard at gactr.uga.edu
------------------------------------

--- >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 at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Icecast mailing list