Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Icecast 2.3.1 config file

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Thu Apr 27, 2006 11:48 pm    Post subject: Icecast 2.3.1 config file Reply with quote

<sources>5</sources>

<threadpool>5</threadpool>

<queue-size>102400</queue-size>

<client-timeout>30</client-timeout>

<header-timeout>15</header-timeout>

<source-timeout>20</source-timeout>


<authentication>
<!-- Sources log in with username 'source' -->
<source-password>blahblahblah</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>blah</relay-password>

<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>blahblah</admin-password>
</authentication>


<directory>
<yp-url-timeout>5</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>5</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>

<relay>
<server>1.2.3.4</server>
<port>8000</port>
<mount>/fallback</mount>
<local-mount>/cyg1_hi</local-mount>

<relay-shoutcast-metadata>1</relay-shoutcast-metadata>
</relay>
<mount>
<mount-name>/fallback</mount-name>
<username>source</username>
<password>blahblah</password>
<max-listeners>100</max-listeners>
<burst-size>65535</burst-size>
<hidden>0</hidden>
<no-yp>1</no-yp>
</mount>

<mount>
<mount-name>/adam_hf</mount-name>
<username>source</username>
<password>adam</password>
<max-listeners>100</max-listeners>
<burst-size>65535</burst-size>
<fallback-mount>/fallback</fallback-mount>
<fallback-override>1</fallback-override>
<hidden>0</hidden>
<no-yp>1</no-yp>
</mount>

<mount>
<mount-name>/adam_lf</mount-name>
<username>source</username>
<password>adam</password>
<max-listeners>100</max-listeners>
<burst-size>65535</burst-size>
<hidden>0</hidden>
<no-yp>1</no-yp>
</mount>

<mount>
<mount-name>/carol_hf</mount-name>
<username>source</username>
<password>carol</password>
<max-listeners>100</max-listeners>
<burst-size>65535</burst-size>
<fallback-mount>/fallback</fallback-mount>
<fallback-override>1</fallback-override>
<hidden>0</hidden>
<no-yp>1</no-yp>
</mount>

There are 15 other mountpoints in the list, but you get the idea... a high-fi and lo-fi for each DJ, etc.


This is an example of what's in my Icecast.xml file. (names and passwords modified) Can anyone let me know what I'm doing wrong? I have to manually start Ezstream (fallback) before any DJ's can connect to their mountpoints or before Icecast even recognizes mountpoint (main cyg1_hi) in the first place. Especially after Microsoft does it's upgrades and reboots my remote server, it's a pain in the backside. Also, If a DJ loses the stream long enough for the fallback to pick it up, he can reconnect his encoder, but the fallback will continue to play until the DJ rebumps his/her encoder.

I changed source timeout to 20 from 10 and have my DJ's set auto-reconnect on SAM3 to 1 sec.

I changed sources from 4-5 in an attempt to do seamless handoffs (doesn't work, although both DJ's can connect, first one on takes precedence)


Thank you so much for any help...
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Apr 28, 2006 3:00 pm    Post subject: Reply with quote

the error log (level 4) is what would be required to look at this further, from the time the listeners fallback when the DJ disconnects.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Apr 28, 2006 4:36 pm    Post subject: Reply with quote

Kurt, this isn't probably what you're asking for, but it also explains errors and warnings I get in the error log...

Using SAM3 and well, it also seems to look for each encoder in it's own directory instead of just the icecast.xml file?

[2006-04-01 05:25:57] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:02] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:07] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:12] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:17] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:22] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:27] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:32] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:37] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:42] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:47] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:50] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:50] WARN output conversion failed due to conv error
[2006-04-01 05:26:50] WARN Bytes: 0xB4 0x20 0x42 0x61
[2006-04-01 05:26:50] WARN xmlOutputBufferFlush: encoder error
[2006-04-01 05:26:52] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:26:57] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:02] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:07] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:12] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:17] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:22] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:27] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:32] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:37] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:42] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:47] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:51] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:51] WARN output conversion failed due to conv error
[2006-04-01 05:27:51] WARN Bytes: 0xB4 0x20 0x42 0x61
[2006-04-01 05:27:51] WARN xmlOutputBufferFlush: encoder error
[2006-04-01 05:27:52] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:27:57] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:02] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:07] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:12] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:17] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:22] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:27] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:32] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:37] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:42] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:47] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:52] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:52] WARN output conversion failed due to conv error
[2006-04-01 05:28:52] WARN Bytes: 0xB4 0x20 0x42 0x61
[2006-04-01 05:28:52] WARN xmlOutputBufferFlush: encoder error
[2006-04-01 05:28:53] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:28:58] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:29:03] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:29:08] WARN xmlEncodeEntitiesReentrant : input not UTF-8
[2006-04-01 05:31:12] EROR yp/yp.c YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
[2006-04-01 05:31:22] EROR yp/yp.c YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Server already exists
[2006-04-01 05:31:22] EROR yp/yp.c YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
[2006-04-01 05:36:42] EROR yp/yp.c YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
[2006-04-01 05:36:52] EROR yp/yp.c YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Server already exists
[2006-04-01 05:36:52] EROR yp/yp.c YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
[2006-04-01 05:42:12] EROR yp/yp.c YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
[2006-04-01 05:42:22] EROR yp/yp.c YP add on http://dir.xiph.org/cgi-bin/yp-cgi failed: Server already exists
[2006-04-01 05:42:22] EROR yp/yp.c YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
[2006-04-01 05:47:42] EROR yp/yp.c YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
Back to top
Anonymous
Guest





PostPosted: Fri Apr 28, 2006 4:39 pm    Post subject: Reply with quote

Time out example...

2006-04-25 13:35:56] WARN source/source.c Disconnecting source due to socket timeout
[2006-04-25 13:35:56] WARN source/source.c Disconnecting source due to socket timeout
[2006-04-25 13:35:56] WARN source/source.c Disconnecting source due to socket timeout
[2006-04-25 13:35:56] WARN source/source.c Disconnecting source due to socket timeout
[2006-04-25 13:35:56] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:35:57] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:35:57] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:35:58] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:35:59] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:35:59] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:35:59] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:00] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:00] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:01] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:02] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:02] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:03] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:03] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:04] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:05] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:05] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:06] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:06] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:07] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:08] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:08] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:09] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:09] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:10] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:11] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:11] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:12] WARN admin/admin.c Admin command metadata on non-existent source /tomw_lf
[2006-04-25 13:36:12] WARN admin/admin.c Admin command metadata on non-existent source /tomw_hf
[2006-04-25 13:36:12] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:13] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:13] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:14] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:14] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:15] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:15] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:16] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:17] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:17] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:18] EROR yp/yp.c YP add on http://www.oddsock.org/cgi-bin/yp-cgi failed: no response from server
[2006-04-25 13:36:18] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:19] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:19] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:20] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:21] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:21] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:22] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:22] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:23] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:24] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:24] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:25] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:25] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:26] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:27] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:27] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:28] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:29] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:29] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:30] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:31] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:31] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:32] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:32] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:33] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:34] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:34] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:35] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:35] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:36] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:37] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:37] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:38] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:38] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:39] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:40] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:40] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:41] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:42] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:42] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:43] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:44] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:44] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:45] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:45] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
[2006-04-25 13:36:46] WARN fserve/fserve.c req for file "./web/cyg1_hi" No such file or directory
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Apr 28, 2006 8:56 pm    Post subject: Reply with quote

Posting the full log on the forum is not the best way, harder to search for certain lines. What I can say from this is, that the log level is 2 not 4, the 'input not UTF-8' is because of the metadata typically sent on mp3 streams (I have a workaround in the -kh branch where you can state the <charset> per-mount). AFAIK the oddsoc.orgk YP server is not running any more so that can be removed from the xml.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber