| View previous topic :: View next topic |
| Author |
Message |
AlexIT
Joined: 21 Apr 2007 Posts: 18 Location: Italy
|
Posted: Thu Feb 21, 2008 1:55 pm Post subject: 1 ices, 2 playlists |
|
|
Can ises stream two different playlists on two different mount points?
If yes, where I can find config example.
If no, what source client could do this?
Thanx. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Feb 21, 2008 4:51 pm Post subject: |
|
|
i guess u are looking for something like this
with several mountpoints:
<?xml version="1.0"?>
<ices>
<background>0</background>
<logpath>/usr/local/icecast2/logs</logpath>
<logfile>ices.log</logfile>
<loglevel>4</loglevel>
<consolelog>0</consolelog>
<pidfile>/usr/local/icecast2/ices.pid</pidfile>
<stream>
<metadata>
<name>Test Stream</name>
<genre>music</genre>
<description>A test stream</description>
<url>http://www.mydomain.com</url>
</metadata>
<input>
<module>oss</module>
<param name="rate">44100</param>
<param name="channels">2</param>
<param name="device">/dev/dsp</param>
<param name="metadata">0</param>
<param name="metadatafilename">live</param>
</input>
<instance>
<hostname>xx.xxx.xxx.xx</hostname>
<port>8000</port>
<password>letmein</password>
<mount>/highband.ogg</mount>
<yp>0</yp>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>
<encode>
<quality>2</quality>
<nominal-bitrate>96000</nominal-bitrate>
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>
</instance>
<instance>
<hostname>xx.xxx.xxx.xx</hostname>
<port>8000</port>
<password>password_01</password>
<mount>/midband.ogg</mount>
<yp>0</yp>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>
<downmix>1</downmix>
<resample>
<in-rate>44100</in-rate>
<out-rate>22050</out-rate>
</resample>
<encode>
<nominal-bitrate>32000</nominal-bitrate>
<samplerate>22050</samplerate>
<channels>2</channels>
<quality>1</quality>
</encode>
</instance>
<instance>
<hostname>xx.xxx.xxx.xx</hostname>
<port>8000</port>
<password>password_02</password>
<mount>/lowband.ogg</mount>
<yp>0</yp>
<reconnectdelay>2</reconnectdelay>
<reconnectattempts>5</reconnectattempts>
<maxqueuelength>80</maxqueuelength>
<downmix>1</downmix>
<resample>
<in-rate>44100</in-rate>
<out-rate>11000</out-rate>
</resample>
<encode>
<nominal-bitrate>16000</nominal-bitrate>
<samplerate>11000</samplerate>
<channels>1</channels>
<quality>-1</quality>
</encode>
</instance>
</stream>
</ices> |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Thu Feb 21, 2008 9:45 pm Post subject: |
|
|
if the playlists are different then you'll need two xml files, one for each ices to refer to each playlist.
karl. |
|
| Back to top |
|
 |
AlexIT
Joined: 21 Apr 2007 Posts: 18 Location: Italy
|
Posted: Thu Feb 21, 2008 11:48 pm Post subject: |
|
|
Playlists are different.
So I must run two ices? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Feb 22, 2008 12:20 am Post subject: |
|
|
yes, if it wasn't clear. Each ices processes an input, 2 playlists means 2 inputs and therefore 2 ices processes are required.
karl. |
|
| Back to top |
|
 |
AlexIT
Joined: 21 Apr 2007 Posts: 18 Location: Italy
|
Posted: Fri Feb 22, 2008 4:11 am Post subject: |
|
|
What source client could do this?
Or its's absolutely impossible? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Feb 22, 2008 1:56 pm Post subject: |
|
|
I don't know of any but it's not impossible but having multiple source clients running concurrently is not an issue as it takes the same resources to create the streams.
karl. |
|
| Back to top |
|
 |
AlexIT
Joined: 21 Apr 2007 Posts: 18 Location: Italy
|
|
| Back to top |
|
 |
|