[icecast] Multiple Ogg Streams

Lukas Österreicher lukas.oesterreicher at inode.at
Sat Nov 22 00:43:32 UTC 2003



>it supposed to, check the log file for details but there is no reason
>for it not to work with 2 instances.
>
>Note as well, that you should have 2 instances each of which has the
>icecast connection details and an encode section.
>

I don't quite understand. You always talk about two instances. Do you really mean
two instances of ices2 called seperately? Do I have to make to config files, too?

In this case, what about the possibility of two <encode> sections in the config file?

This is what I currently have in my config file:

<?xml version="1.0"?>
<ices>

        <background>0</background>
        <logpath>/data/audio/logging</logpath>
        <logfile>ices.log</logfile>
        <loglevel>3</loglevel>
        <consolelog>0</consolelog>
        <stream>
                <metadata>
                        <name>Example stream name</name>
                        <genre>Example genre</genre>
                        <description>Yarf - the otherkin radio (low bitrate)</description>
                </metadata>
                <input>
                        <module>playlist</module>
                        <param name="type">basic</param>
                        <param name="file">playlist.txt</param>
                        <param name="random">0</param>
                        <param name="once">0</param>
                </input>
                <instance>
                        <hostname>localhost</hostname>
                        <port>8000</port>
                        <password>#classified#</password>
                        <mount>/low.ogg</mount>

                        <reconnectdelay>1</reconnectdelay>
                        <reconnectattempts>-1</reconnectattempts> 

                        <maxqueuelength>80</maxqueuelength>

                        <encode>  
                                <samplerate>22050</samplerate>
                                <channels>1</channels>
                                <quality>-1</quality>
                        </encode>
                </instance>

                <instance>
                        <hostname>localhost</hostname>
                        <port>8000</port>
                        <password>#classified#</password>
                        <mount>/medium.ogg</mount>

                        <reconnectdelay>1</reconnectdelay>
                        <reconnectattempts>-1</reconnectattempts> 

                        <maxqueuelength>80</maxqueuelength>

                        <encode>  
                                <samplerate>44100</samplerate>
                                <channels>1</channels>
                                <quality>-1</quality>
                        </encode>
                </instance>

        </stream>
</ices>

And this is what I got in the logfile:

[2003-11-22  01:30:25] INFO ices-core/main ices started...
[2003-11-22  01:30:25] INFO stream/ices_instance_stream Connected to server: localhost:8000/low.ogg
[2003-11-22  01:30:25] EROR stream/ices_instance_stream Failed initial connect to localhost:8000 (Login failed: Success)
[2003-11-22  01:30:25] INFO signals/signal_usr1_handler Metadata update requested
[2003-11-22  01:30:25] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "playlist.txt"
[2003-11-22  01:30:25] INFO playlist-builtin/playlist_read Currently playing from stdin
[2003-11-22  01:30:26] INFO encode/encode_initialise Encoder initialising in VBR mode: 1 channel(s), 22050 Hz, quality -1.000000
[2003-11-22  01:30:26] INFO audio/resample_initialise Initialised resampler for 1 channels, from 44100 Hz to 22050 Hz
[2003-11-22  01:30:26] INFO audio/downmix_initialise Enabling stereo->mono downmixing

Maybe I just have the config file wrong.
Could you tell me how to fix it?
(Is there anywhere a DTD for this xml?)

Lukas

<p><p>--- >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