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 

Multiple Streams

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





PostPosted: Tue Aug 08, 2006 3:48 pm    Post subject: Multiple Streams Reply with quote

Hello,
how I am able to do with a konfigurations file several Streams, bat no relay option.
I use NSVTools to send a Stream to a Icecast-Server and it claps wonderfully only with a Stream.
thanks

my xml config
Code:

<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</sources>
    </limits>

    <listen-socket>
        <port>8000</port>
    </listen-socket>

    <listen-socket>
        <port>8001</port>
        <shoutcast-compat>1</shoutcast-compat>
    </listen-socket>

    <authentication>
        <source-password>admin</source-password>
        <relay-password>admin</relay-password>
        <admin-user>admin</admin-user>
        <admin-password>admin</admin-password>
    </authentication>

    <hostname>localhost</hostname>
    <mount>
        <mount-name>/stream.nsv</mount-name>
        <password>test</password>
        <max-listeners>5</max-listeners>
        <max-listener-duration>3600</max-listener-duration>
        <intro>/intro.nsv</intro> 
        <burst-size>65536</burst-size>     
    </mount>
   
    <shoutcast-mount>/stream.nsv</shoutcast-mount>

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

    <fileserve>1</fileserve>

    <paths>
        <basedir>/usr/share</basedir>
        <logdir>/var/log/icecast</logdir>
        <webroot>/usr/share/icecast/web</webroot>
        <adminroot>/usr/share/icecast/admin</adminroot> 
        <alias source="/" dest="/status.xsl"/>   
    </paths>



    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
       <loglevel>1</loglevel>
       <logsize>10000</logsize>
       <logarchive>1</logarchive>
    </logging>

    <security>
        <chroot>0</chroot>
    </security>

</icecast>

Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Aug 09, 2006 1:37 am    Post subject: Reply with quote

you may need to expand on what the problem is, multiple streams are possible but with 2.3.1 only 1 shoutcast-style source client (nsvtools etc) can connect at any one time.

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





PostPosted: Wed Aug 09, 2006 9:03 am    Post subject: Reply with quote

how does one do this? I have only one mount
<shoutcast-mount>/stream.nsv</shoutcast-mount>

and I need several
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Aug 09, 2006 9:37 pm    Post subject: Reply with quote

It's next to impossible to map shoutcast style clients like we do for icecast clients because there is no concept of a mountpoint. With shoutcast you need seperate servers, with icecast 2.3.1 you can only have 1 connecting at any one time.

It is possible to allow multiple shoutcast-style source clients to connect to a single icecast, a feature which seems to be working well in my branch but you will need to use multiple ports, 2 consequetive ports for each source client in fact.

If you are interested then by all means give it a go, look on http://karl.medicast1.com 2-3.1-kh7 is the latest version. The definition is fairly trivial as well, just move the <shoutcast-mount> setting into the <listen-socket> section, this will implicitly define the next port number so only 1 <listen-socket> defintition is needed per shoutcast source client. Everything else works the same way.

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 -> Video Streaming 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