Creating multiple feeds

Status
Not open for further replies.

Lexxx

Member
Joined
Dec 21, 2004
Messages
221
Reaction score
8
Location
Kitchener, Canada
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:

NYRHKY94

Member
Joined
Mar 5, 2006
Messages
1,461
Reaction score
146
Location
Brunswick County, NC
Webstar22:

Thanks for the reply. If I'm reading this correctly, are you saying you don't actually change the xml configuration in Icecast at all? Instead, you run a second instance of Oddcast and make the mount point change in there?

Just want to confirm if that's what you are saying. Thanks again.

P.S. I'm assuming I will need a separate sound card for each feed on the same PC, correct?

Mike
 

webstar22

RenfrewCountyScanner.com
Premium Subscriber
Joined
Dec 21, 2003
Messages
1,047
Reaction score
175
Location
Ontario, Canada
Yes,

After you setup your passwords in the XML file you are pretty much done with it.

And 1 card per feed is best.
 

NYRHKY94

Member
Joined
Mar 5, 2006
Messages
1,461
Reaction score
146
Location
Brunswick County, NC
All set now guys, thanks! Appreciate all the tips I received, especially Gordon at Scangwinnett. One of these days when time allows, I'm going to do a step-by-step tutorial with screen shots.

Thanks - Mike
 
Status
Not open for further replies.
Top