View previous topic :: View next topic |
Author |
Message |
Pea
Joined: 17 Feb 2009 Posts: 5
|
Posted: Tue Feb 17, 2009 10:42 am Post subject: Help need to configure icecast. |
|
|
Code: |
<icecast>
<limits>
<clients>200</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>
<burst-on-connect>1</burst-on-connect>
<burst-size>65535</burst-size>
</limits>
<authentication>
<source-password>hackme</source-password>
<relay-password>hackme</relay-password>
<admin-user>admin</admin-user>
<admin-password>hackme</admin-password>
</authentication>
<hostname>92.128.121.135</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<listen-socket>
<port>8001</port>
<shoutcast-compat>1</shoutcast-compat>
</listen-socket>
<shoutcast-mount>/live.nsv</shoutcast-mount>
<mount>
<mount-name>/live.nsv</mount-name>
<authentication type="url">
<option name="mount_add" value="http://www.footballglobal.net/icecastscript.php"/>
<option name="mount_remove" value="http://www.footballglobal.net/icecastscript.php"/>
<option name="listener_add" value="http://www.footballglobal.net/icecastscript.php"/>
<option name="listener_remove" value="http://www.footballglobal.net/icecastscript.php"/>
</authentication>
</mount>
<fileserve>1</fileserve>
<paths>
<basedir>/usr/share/icecast</basedir>
<logdir>/var/log/icecast</logdir>
<webroot>/usr/share/icecast/web</webroot>
<adminroot>/usr/share/icecast/admin</adminroot>
<pidfile>/var/tmp/icecast.pid</pidfile>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>shoutcast</user>
<group></group>
</changeowner>
</security>
</icecast>
-- Now this is my icecast.xml
My aim is to stream VIDEO. I've setup my authentication script with vbulletin and uploaded it to the hosting.
I was sent this config by a friend, who was not kind enough to help me further.
My questions are:
The shoutcast mount is "/live.nsv"
On nsvcap how am i supposed to stream to that?
Is there mean't to be a shoutcast port which i connect to on NSVCAP.
If so then how do i connect shoutcast so that it's /live.nsv
Thanks
Pea |
|
|
Back to top |
|
|
Pea
Joined: 17 Feb 2009 Posts: 5
|
Posted: Tue Feb 17, 2009 11:42 am Post subject: |
|
|
Sorry, i sort of put it all in a code. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Feb 17, 2009 12:58 pm Post subject: |
|
|
assuming this is 2.3.2, all you need to do is place a <shoutcast-mount>/live.nsv</shoutcast-mount> in the listen-socket of port 8000 and remove the listen socket for 8001.
karl. |
|
Back to top |
|
|
Pea
Joined: 17 Feb 2009 Posts: 5
|
Posted: Tue Feb 17, 2009 1:02 pm Post subject: |
|
|
Code: |
<hostname>92.128.121.135</hostname>
<listen-socket>
<port>8000</port>
<shoutcast-mount>/live.nsv</shoutcast-mount>
</listen-socket>
<listen-socket>
<port>8001</port>
<shoutcast-compat>1</shoutcast-compat>
</listen-socket>
<shoutcast-mount>/live.nsv</shoutcast-mount>
|
Okay, i don't quite get that. I'm a newbie at this sorry. So i edited it above. Is that what i do? If not can you correct it please. And also, so the listen socket will be the SHOUTCAST? |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Feb 17, 2009 3:33 pm Post subject: |
|
|
nsvcap is a shoutcast style source client, so you need to tell icecast to use the 2 port setup that nsvcap expects. the shoutcast-mount does 2 things, says which mountpoint to use (as nsvcap has no reference to mountpoint) and implicitly defines the second port. So in the modified section you posted, you would remove the second listen-socket section as indicated in my first reply.
karl. |
|
Back to top |
|
|
Pea
Joined: 17 Feb 2009 Posts: 5
|
Posted: Tue Feb 17, 2009 4:02 pm Post subject: |
|
|
Hmm.....i think this only allows me to have one channel.
Nevertheless i done it a different way and it worked! Wahoo!
Thanks for your help though
If anyones else is struggling with vbulletin script + icecast authentication i can help you!
Add me up or email me on msn @ admin@adoremovies.com
Thanks again. |
|
Back to top |
|
|
|