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 

URL Help

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





PostPosted: Thu Jan 12, 2006 10:11 pm    Post subject: URL Help Reply with quote

Im using Traktor DJ 3 and Icecast 2.3.1

Server is on same comp as source. Does work but system might lag im told.

But I have a very good system. And plenty bandwidth

The main admin login page tells me everything about my server, that
im using traktor DJ and what im playing etc. So its working?

<icecast>
<limits>
<clients>100</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>
<!-- If enabled, this will provide a burst of data when a client
first connects, thereby significantly reducing the startup
time for listeners that do substantial buffering. However,
it also significantly increases latency between the source
client and listening client. For low-latency setups, you
might want to disable this. -->
<burst-on-connect>1</burst-on-connect>
<!-- same as burst-on-connect, but this allows for being more
specific on how much to burst. Most people won't need to
change from the default 64k. Applies to all mountpoints -->
<burst-size>65535</burst-size>
</limits>

<authentication>
<!-- Sources log in with username 'source' -->
<source-password>******</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>*******</relay-password>

<!-- Admin logs in with the username given below -->
<admin-user>*****</admin-user>
<admin-password>******</admin-password>
</authentication>

<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->

<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>MinDBlanK</hostname>

<!-- You can use these two if you only want a single listener -->
<!--<port>8001</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->

<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8000</port>
</listen-socket>
-->

<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8000</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->

<!-- setting this makes all relays on-demand unless overridden, this is
useful for master relays which do not have <relay> definitions here.
The default is 0 -->
<!--<relays-on-demand>1</relays-on-demand>-->

<!--
<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/ueradio.ogg</mount>
<local-mount>/different.ogg</local-mount>
<on-demand>0</on-demand>

<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
-->

<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/example-complex.ogg</mount-name>

<username>othersource</username>
<password>hackmemore</password>

<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>65536</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<intro>/example_intro.ogg</intro>
<hidden>1</hidden>
<no-yp>1</no-yp>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
<on-connect>/home/icecast/bin/stream-start</on-connect>
<on-disconnect>/home/icecast/bin/stream-stop</on-disconnect>
</mount>

<mount>
<mount-name>/auth_example.ogg</mount-name>
<authentication type="url">
<option name="mount_add" value="http://myauthserver.net/notify_mount.php"/>
<option name="mount_remove" value="http://myauthserver.net/notify_mount.php"/>
<option name="listener_add" value="http://myauthserver.net/notify_listener.php"/>
<option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
</authentication>
</mount>

-->

<fileserve>1</fileserve>

<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->

<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>./</basedir>

<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<!-- <pidfile>./icecast.pid</pidfile> -->

<!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
<!-- Aliases: can also be used for simple redirections as well,
this example will redirect all requests for http://server:port/ to
the status page
-->
<alias source="/" dest="/status.xsl"/>
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<!-- <playlistlog>playlist.log</playlistlog> -->
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>10000</logsize> <!-- Max size of a logfile -->
<!-- If logarchive is enabled (1), then when logsize is reached
the logfile will be moved to [error|access|playlist].log.DATESTAMP,
otherwise it will be moved to [error|access|playlist].log.old.
Default is non-archive mode (i.e. overwrite)
-->
<!-- <logarchive>1</logarchive> -->
</logging>

<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nogroup</group>
</changeowner>
-->
</security>
</icecast>


I have tried putting my IP in instead of the 127.0.0.1 that appears.

I am broadcasting ok as traktor DJ says its connected ok and is sending data to server.

So why cant anybody connect? Im totally lost the server is online and main
admin page says so and its receiving my music.

What should my URL consist of?

It tells me on main page when i login but when I give out the listen url
they cant connect.

They have updated Wimamp for ogg support also.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 13, 2006 12:49 am    Post subject: Reply with quote

Just to be clear on what you have said, no other people can connect to your icecast at all, so things like the /status.xsl page does not appear for them? if they cannot get that page then check for firewalling and routing.

Can you also be clear on the <hostname> setting, name or IP is fine, but it does have to be networked addressable by the listener, so localhost or 127.0.0.1 is only good for your machine,

There is also a question of what is the url you are giving out, browers want the link to a playlist with an m3u/pls extension eg http://myhost:8000/stream.ogg.m3u however players themselves work on the stream link eg http://myhost:8000/stream.ogg

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






PostPosted: Fri Jan 13, 2006 6:15 am    Post subject: Reply with quote

Thanks for the reply

Im giving them the stream link.

Http://myhost:8000/stream.ogg

The IP 127.0.0.1 comes default with the prog I changed it back for talks
sake.

Traktor DJ connects as the flashing tower symbol stays lit and 'Doesn't
flash indicating it cant connect'

I have asked others to log into the admin page and they can np.

It shows it hosting and when my source connects it shows that and the
listen url.

The IP I changed to my own IP, as I found that out from myip.com but
changing it to either the default or my IP makes no difference to my admin
page it still says its working ok. Well im thinking its ok as the help page
with the prog tells me to do this to check if its online which it is; i think as
I can connect to it using the url for admin login.

I have permitted all acces to icecast and Traktor DJ in my firewall and dont
have a router, its a cable modem.

I get the feeling im just not telling them the correct url but I know nothing
of course as I wouldn't be here otherwise!

Hope this helps...
Back to top
liteFun



Joined: 13 Jan 2006
Posts: 79

PostPosted: Fri Jan 13, 2006 11:55 am    Post subject: Reply with quote

<hostname>MinDBlanK</hostname>

You might want to use some free dynamicdns services, to get something like MinDBlanK.serveftp.org as hostname.

Now, when you have MinDBlanK as hostname, users that tries to get .m3u link from your server, has on the playlist-file url for example something like http://MinDBlanK:8000/MinDBlanK for mp3-stream.
And obviously they don't know what ip a host named MinDBlanK has.

So, try to set <hostname>your.ip.here</hostname>, it probably helps a lot.
Back to top
View user's profile Send private message
MinDBlanK
Guest





PostPosted: Fri Jan 13, 2006 3:37 pm    Post subject: Reply with quote

Ok m8, will give that a bash. Thanks.
Back to top
MinDBlanK
Guest





PostPosted: Fri Jan 13, 2006 3:49 pm    Post subject: Reply with quote

OK, Tried that now all that happens is it says connecting and stays connecting. :S
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 13, 2006 4:07 pm    Post subject: Reply with quote

A routing or firewall issue, you need to check your network setup.

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





PostPosted: Fri Jan 13, 2006 4:55 pm    Post subject: Reply with quote

But they can connect to the stats page. Heres my details for that.

<?xml version="1.0" ?>
- <icestats>
<client_connections>10</client_connections>
<clients>1</clients>
<connections>12</connections>
<file_connections>0</file_connections>
<listener_connections>0</listener_connections>
<server>Icecast 2.3.1</server>
<server_start>Fri, 13 Jan 2006 16:49:55 GMT Standard Time</server_start>
<source_client_connections>2</source_client_connections>
<source_relay_connections>0</source_relay_connections>
<source_total_connections>2</source_total_connections>
<sources>1</sources>
<stats>0</stats>
<stats_connections>0</stats_connections>
- <source mount="/ueradio">
<audio_bitrate>31999</audio_bitrate>
<audio_channels>2</audio_channels>
<audio_info>ice-samplerate=11025;ice-bitrate=Quality 0;ice-channels=2</audio_info>
<audio_samplerate>11025</audio_samplerate>
<bitrate>Quality 0</bitrate>
<genre>Mixed Styles</genre>
<ice-bitrate>31</ice-bitrate>
<ice-channels>2</ice-channels>
<ice-samplerate>11025</ice-samplerate>
<listener_peak>0</listener_peak>
<listeners>0</listeners>
<listenurl>http://***********:8000/ueradio</listenurl>
<max_listeners>unlimited</max_listeners>
<public>1</public>
<server_description>MinDBLanK In The Mix</server_description>
<server_name>^uE^ Radio</server_name>
<server_type>application/ogg</server_type>
<server_url>http://************:8000/ueradio</server_url>
<slow_listeners>0</slow_listeners>
<source_ip>62.30.163.180</source_ip>
<stream_start>Fri, 13 Jan 2006 16:52:26 GMT Standard Time</stream_start>
<subtype>Vorbis</subtype>
<total_bytes_read>323542</total_bytes_read>
<total_bytes_sent>0</total_bytes_sent>
<user_agent>Native Instruments IceCast Player</user_agent>
</source>
</icestats>
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 13, 2006 5:33 pm    Post subject: Reply with quote

It is recommended that for ogg streams that the mountpoint should end in .ogg, icecast does not care about it, but some players use the extension to determine the codec to use.

Bear in mind that we cannot verify your setup as we don't have the ip/port to work on so we are only getting the mixed info. You say that your listeners can get pages like /status.xsl and /admin/stats.xml but then are unable to get even get a connection for other requests like thge m3u or the actual ogg stream. So something is incorrect here.

The stats indicate that the source is streaming ok, although with a missing .ogg entension, but the connections count is very low indicating that no one is actually connecting to the stream itself. The access log can indicate what connection attempts are actually being processed, but without the complete info on the IP/port, we can't determine anything more. Send email/priv message if need be.

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






PostPosted: Fri Jan 13, 2006 5:52 pm    Post subject: Reply with quote

With the help of a friend who has run a shoutcast server, he has connected
but cant hear anything, even tho the stats page tells him the song and title
playing.

So peeps can connect, just not hear anything.

Hes looking into it for me and I will report back the results and or more questions! Very Happy

Thanks so far!
Back to top
MinDBlanK
Guest





PostPosted: Fri Jan 13, 2006 7:45 pm    Post subject: Reply with quote

Sorted, the mount point in my source was different from that in the Icecast Very Happy

Thanks for helping guys!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server 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