View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Tue Aug 08, 2006 3:48 pm Post subject: Multiple Streams |
|
|
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
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Aug 09, 2006 1:37 am Post subject: |
|
|
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 |
|
|
Anonymous Guest
|
Posted: Wed Aug 09, 2006 9:03 am Post subject: |
|
|
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
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Aug 09, 2006 9:37 pm Post subject: |
|
|
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 |
|
|
|