| View previous topic :: View next topic |
| Author |
Message |
spacedad
Joined: 13 Sep 2009 Posts: 11
|
Posted: Sun Sep 13, 2009 12:53 pm Post subject: newbie post |
|
|
hi,
what should my hostname be?
my IP address or localhost?
i tried both and tried to get admin/stats but passwaords don't seem to work.
i'm trying to use shoutvst in eXT to stream live music.
i've installed icecast2.3.2 and things seem to be connecting,no errors.
i haven't changed any settings yet,so maybe i'm doing something wrong.
i'm running it on winXP.using lame with /example.mp3 as mount.
when i put the link in my browser(firefox) to try it tries to download the endless example.mp3.
any tips appreciated.
cheers. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 1:20 pm Post subject: |
|
|
The hostname setting won't affect you being able to get the stats, but it should be what your listener would use to get to the server, ip or DNS name. The user/pass for admin seems to be incorrect from your description.
If you place a stream url in a browser then it will download the endless content because the browser is not aware of what to do with mp3, so it is trying to save it to disk. I think what you are wanting is to download a playlist which the browser will know what to do with eg http://..../example.mp3.m3u
karl. |
|
| Back to top |
|
 |
spacedad
Joined: 13 Sep 2009 Posts: 11
|
Posted: Sun Sep 13, 2009 3:10 pm Post subject: |
|
|
| karlH wrote: |
The hostname setting won't affect you being able to get the stats, but it should be what your listener would use to get to the server, ip or DNS name. The user/pass for admin seems to be incorrect from your description.
If you place a stream url in a browser then it will download the endless content because the browser is not aware of what to do with mp3, so it is trying to save it to disk. I think what you are wanting is to download a playlist which the browser will know what to do with eg http://..../example.mp3.m3u
karl. |
hi,karl,thanks for the reply.
where is the username chosen?
i can only see it in shoutvst,says username 'source'.
password is unchanged 'hackme',i guess that's right.
i'm not sure what DNS means,but i guess i need my ip address instead of 'localhost' for my listeners.? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 3:26 pm Post subject: |
|
|
the username/password for admin is set in the xml for icecast under authentication. The user/pass for a source client can also be set there globally over set in a <mount> if you want to be specific. The default global username for a source client is source.
Your IP address is fine for <hostname>
karl. |
|
| Back to top |
|
 |
spacedad
Joined: 13 Sep 2009 Posts: 11
|
Posted: Sun Sep 13, 2009 3:42 pm Post subject: |
|
|
ok,got the stats,cheers.
<icestats>
<admin>icemaster@localhost</admin>
<client_connections>6</client_connections>
<clients>1</clients>
<connections>8</connections>
<file_connections>0</file_connections>
<host>localhost</host>
<listener_connections>4</listener_connections>
<listeners>0</listeners>
<location>Earth</location>
<server_id>Icecast 2.3.2</server_id>
<server_start>Sun, 13 Sep 2009 16:35:38 GMT Daylight 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="/example.mp3.m3u">
<genre>various</genre>
<listener_peak>0</listener_peak>
<listeners>0</listeners>
<listenurl>http://localhost:8000/example.mp3.m3u</listenurl>
<max_listeners>unlimited</max_listeners>
<public>0</public>
<server_description>Unspecified description</server_description>
<server_name>no name</server_name>
<server_type>audio/mpeg</server_type>
<slow_listeners>0</slow_listeners>
<source_ip>127.0.0.1</source_ip>
<stream_start>Sun, 13 Sep 2009 16:38:32 GMT Daylight Time</stream_start>
<total_bytes_read>136865</total_bytes_read>
<total_bytes_sent>0</total_bytes_sent>
<user_agent>libshout/2.0.0</user_agent>
</source>
</icestats>
but if i paste the listener url in firefox it tried to download again,giving the example.mp3.m3u an extra .mp3 extention. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 3:58 pm Post subject: |
|
|
your source client sends a stream not a playlist, so the mount that provides should be appropriate eg .mp3 not .m3u
A web browser should request the playlist ie .m3u so that it hands off the playlist to a media player like vlc.
karl. |
|
| Back to top |
|
 |
spacedad
Joined: 13 Sep 2009 Posts: 11
|
Posted: Sun Sep 13, 2009 4:17 pm Post subject: |
|
|
wow,that's working.
amazing technology,many thanks for making this available.
and thanks for you explainations too.
well it's working with localhost,anyhoo.
what am i doing wrong with ip? does it just need the number or do you add the http:// bit as well? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 4:22 pm Post subject: |
|
|
no, hostname is either an IP address or a name (DNS). As for what else is wrong I can't say without knowing something about the problem being experienced.
karl. |
|
| Back to top |
|
 |
spacedad
Joined: 13 Sep 2009 Posts: 11
|
Posted: Sun Sep 13, 2009 4:51 pm Post subject: |
|
|
ok,thanks.
i changed icecast.xml hostname to myipname,and shoutvst hostname to myipname.and i get....
Initializing ICE...
Error connecting: Couldn't connect
shout_close(00000000) |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 6:34 pm Post subject: |
|
|
There is so much you are not describing here. If your setup is an icecast on a server inside a NAT LAN where an external router is forwarding outside requests to icecast, then you may find that any internal requests made to that external IP are forwarded back into the LAN, Or it could be down to the fact that your machine is firewalled and you are being blocked. This should be covered by your network administrator.
Try sticking to the basics first, try getting the status page with a browser.
karl. |
|
| Back to top |
|
 |
spacedad
Joined: 13 Sep 2009 Posts: 11
|
Posted: Sun Sep 13, 2009 6:53 pm Post subject: |
|
|
| karlH wrote: |
There is so much you are not describing here. If your setup is an icecast on a server inside a NAT LAN where an external router is forwarding outside requests to icecast, then you may find that any internal requests made to that external IP are forwarded back into the LAN, Or it could be down to the fact that your machine is firewalled and you are being blocked. This should be covered by your network administrator.
Try sticking to the basics first, try getting the status page with a browser.
karl. |
in my firewall i've got icecastservice.exe and icecast2win.exe running in the connections section.i'm not sure how to find out what kind of info you're saying,i don't understand all of it.
i've tried to allow it in my firewall,if anyone is familiar with sunbelt kerio personal,please help me.
and i don't know what the status page is,maybe that's back in the help docs or omething,i'll have to check later.
gotta go get the kids ready for bed,thanks again. |
|
| Back to top |
|
 |
spacedad
Joined: 13 Sep 2009 Posts: 11
|
Posted: Sun Sep 13, 2009 8:33 pm Post subject: |
|
|
i'm looking at how to create a filter in my firewall.
i put icecastService.exe;
then under protocol i added TCP and UDP,both had a number too,does that need to be changed?
then under 'local' i added port rang 8000-8001 and just named them 8000+8001,is that make sense?
then under 'remote' should i give port 8000 or give a range?
i've never had to do this before,other programs have just asked permission and i didn't need to setup a special filter,so i'm worried if i do it wrong i'll open up my firewall.
please let me know if you think i'm on the right track. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Sep 13, 2009 9:05 pm Post subject: |
|
|
I'm not familiar with your network setup to say which is best, if the windows firewall is the only thing getting in the way between the source client and icecast then it usually it asks to keep blocking or not, but you haven't said what you have. Start with a simple question, does the IP on your windows box refer to a private network eg 192.168.x.x
karl. |
|
| Back to top |
|
 |
spacedad
Joined: 13 Sep 2009 Posts: 11
|
Posted: Sun Sep 13, 2009 10:30 pm Post subject: |
|
|
| karlH wrote: |
I'm not familiar with your network setup to say which is best, if the windows firewall is the only thing getting in the way between the source client and icecast then it usually it asks to keep blocking or not, but you haven't said what you have. Start with a simple question, does the IP on your windows box refer to a private network eg 192.168.x.x
karl. |
hi,
i did say,sunbelt kerio personal.
i'm not sure what you mean IP on my 'windows box'.
i went to an ip identifing website to find out my address,cos i didn't know where to find it.
and it said it was 94.195.xxxxxx,
though if i look in network connections>internet gateway there's skype info settings with an address that starts with 192.168 if that means anything. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Sep 14, 2009 12:25 am Post subject: |
|
|
ipconfig is the windows utility, typically needed if you have say DHCP enabled. An external web site will only know you by the external address as given to you by the internet provider, but you really should get to know how your network is configured especially if you intend to run external services.
I suspect you are running your windows behind a private router and you are trying to get you source client to talk to the router and the router is not forwarding the connection.
karl. |
|
| Back to top |
|
 |
|