Lexxx
Member
NYRHKY94 said:One of the post above stated: "You don't need different ports for your feeds. you can run them all through 8000 if you want. What you do need though are different mount points in icecast".
I'm really looking for instructions on how to do the above.
NYRHKY94
Below is part of my icecast.xml file that is in the icecast directory. All I did was copy and paste the information for my first feed three times and changed the name of the mount point to get my four feeds to function properly. I use Simplecast, not Oddcast
I'm sure this is a very sloppy way of editing the icecast.xml file, and there is a more elegant way to write and edit this code, but it worked for me, so I left it alone. However, after reading the post above about not needing to name mount points at all, I'm starting to wonder if that code is even necessary, and Simplecast is indeed creating mount points. I did always wonder why "max listeners" was set to 1, and I have far more than that going at the same time.
Hope this helps
Peter
www.ykf.ca
Code:
<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/yyz</mount-name>
<username>xxxxx</username>
<password>xxxxx</password>
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>16384</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
<mount>
<mount-name>/cykf</mount-name>
<username>xxxxx</username>
<password>xxxxx</password>
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>16384</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
<mount>
<mount-name>/police</mount-name>
<username>xxxxx</username>
<password>xxxxx</password>
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>16384</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
<mount>
<mount-name>/fire</mount-name>
<username>xxxxx</username>
<password>xxxxx</password>
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>16384</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
-->
<fileserve>1</fileserve>
Last edited: