| View previous topic :: View next topic |
| Author |
Message |
Anonymous Guest
|
Posted: Tue Nov 13, 2007 3:17 pm Post subject: Win 2003 / Icecast v2.3.1 - Server setup config |
|
|
I have installed icecast server on the server, and am able to broadcast/Stream/access admin pages fine. Now I would like to do a little custom configuring.
1. When running icecast as a windows service, does the settings come from the default config file "icecast.xml" or is there another file that the service get its instructions?
2. I have edited the default XML with my password and IP. These are the only edits I have made, and everything is working smooth. Question: I want to use advanced settings, but when I read the manual it says optional settings. Does that mean I can erase the complete tag from <XML bracket> to <XML Bracket>, or do I leave it empty where the option is optional?
3.I want to set a static "Current Song" instead of the metedata being sent. I found a post regarding setting stating to set <mp3-metadata-interval>0</mp3-metadata-interval> to 0. If I do this, will I need to configure all the <mount> info?
4. If so can some on help me edit my config file?
This is what I got:
(PLEASE NOTE I AM USING TRACKTOR 3 TO BROADCAST)
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>524288</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<!-- If enabled, this will provide a burst of data when a client
first connects, thereby significantly reducing the startup
time for listeners that do substantial buffering. However,
it also significantly increases latency between the source
client and listening client. For low-latency setups, you
might want to disable this. -->
<burst-on-connect>1</burst-on-connect>
<!-- same as burst-on-connect, but this allows for being more
specific on how much to burst. Most people won't need to
change from the default 64k. Applies to all mountpoints -->
<burst-size>65535</burst-size>
</limits>
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>123</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>123</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>123</admin-password>
</authentication>
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>MYIP</hostname>
<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->
<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<!-- setting this makes all relays on-demand unless overridden, this is
useful for master relays which do not have <relay> definitions here.
The default is 0 -->
<!--<relays-on-demand>1</relays-on-demand>-->
<!--
<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>
<on-demand>0</on-demand>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
-->
<mount>
<mount-name>/live.ogg</mount-name>
<username></username>
<password>123</password>
<max-listeners>100</max-listeners>
<dump-file></dump-file>
<burst-size>65536</burst-size>
<fallback-mount></fallback-mount>
<fallback-override></fallback-override>
<fallback-when-full></fallback-when-full>
<intro></intro>
<hidden>1</hidden>
<no-yp>1</no-yp>
<!-- I am on windows, so can I delete this -->
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
<!-- Delete untill here? -->
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>
<!-- The docs do not mention this part -->
<mount>
<mount-name>/live.ogg</mount-name>
<authentication type="url">
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
</authentication>
</mount>
<fileserve>1</fileserve>
<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>./</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<!-- <pidfile>./icecast.pid</pidfile> -->
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
<!-- Aliases: can also be used for simple redirections as well,
this example will redirect all requests for http://server:port/ to
the status page
-->
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<!-- <playlistlog>playlist.log</playlistlog> -->
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
<!-- If logarchive is enabled (1), then when logsize is reached
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
otherwise it will be moved to [error|access|playlist].log.old.
Default is non-archive mode (i.e. overwrite)
-->
<!-- <logarchive>1</logarchive> -->
</logging>
<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>
</icecast>
Thank you for assistance
Rolls |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Nov 13, 2007 4:16 pm Post subject: |
|
|
1. for win32 service, only the icecast.xml is read from.
2. erase the tags as well. tags without a setting yields an empty value
3. setting the metadata interval to 0 means that metadata won't be sent to the connecting listeners. The only information they received is the initial http style headers and possibly any ID3 for streams that have them. For the mp3 metadata interval you will need a mount section for each stream it applies to.
4. anyone is free to make suggestions.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Nov 13, 2007 4:46 pm Post subject: |
|
|
Actually I just added the mount section as such. I still see each song I play in winamp, not sure if I am doing this right. Any thoughts, much appreciated.
<mount>
<mount-name>/live.ogg</mount-name>
<max-listeners>100</max-listeners>
<public>1</public>
<stream-name>My audio stream</stream-name>
<stream-description>My audio description</stream-description>
<stream-url>http://some.place.com</stream-url>
<genre>classical</genre>
<bitrate>64</bitrate>
<type>application/ogg</type>
<subtype>vorbis</subtype>
<hidden>0</hidden>
<mp3-metadata-interval>0</mp3-metadata-interval>
</mount>
<mount>
<mount-name>/live.ogg</mount-name>
</mount> |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Nov 13, 2007 5:41 pm Post subject: |
|
|
you are using ogg there and with 2.3.1 you have to set the titles with the source client, ogg is not mp3 so the mp3 metadata interval won't apply.
karl. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Tue Nov 13, 2007 5:56 pm Post subject: |
|
|
| I am using tracktor 3 as the source, I should go look at the tracktor website for an mp3 plug in and then I will be in biz? |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Wed Nov 14, 2007 1:18 am Post subject: |
|
|
OK, I have Transcoder encoding and sending the stream back to Ice cast as an MP3, how now do I mark up the XML file to block the meta data or song/track title from being broadcasted?
I have to streams in ice cast, the ogg to transcoder and transcoder back to icecast as mp3
Thanks |
|
| Back to top |
|
 |
|
|
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
|