| View previous topic :: View next topic |
| Author |
Message |
Neorth
Joined: 11 Nov 2008 Posts: 4
|
Posted: Wed Nov 12, 2008 12:06 am Post subject: Seems to be working but can't connect to stream |
|
|
Hi! This is my first time trying to get a Icecast server going so I guess problem is what I should get
I'm using Icecast2 v2 (win32 GUI version) with foobar/edcastv3 as source. I'm using the OggVorbis encoder and the mountpoint is named /stream.ogg
I have managed to setup the server so that everything seems to be working but when I try to connect to the stream it won't connect.
http://myip:8000/status.xsl is no problem reaching.
Here's what's happening in error.log:
When server is started:
| Code: |
[2008-11-12 00:19:49] INFO main/main.c Icecast 2.3.2 server started
[2008-11-12 00:19:49] INFO connection/connection.c No SSL capability
[2008-11-12 00:19:49] WARN stats/stats.c seen non-UTF8 data, probably incorrect metadata (server_start, Wed, 12 Nov 2008 00:19:49 Västeuropa, normaltid)
[2008-11-12 00:19:49] INFO stats/stats.c stats thread started
[2008-11-12 00:19:49] INFO fserve/fserve.c file serving thread started
[2008-11-12 00:19:49] INFO yp/yp.c YP update thread started |
When source is connected:
| Code: |
[2008-11-12 00:20:06] INFO connection/connection.c Source logging in at mountpoint "/stream.ogg"
[2008-11-12 00:20:06] WARN stats/stats.c seen non-UTF8 data, probably incorrect metadata (stream_start, Wed, 12 Nov 2008 00:20:06 Västeuropa, normaltid)
[2008-11-12 00:20:06] INFO format-vorbis/format_vorbis.c seen initial vorbis header
[2008-11-12 00:20:06] INFO source/source.c listener count on /stream.ogg now 0
[2008-11-12 00:20:06] INFO format-vorbis/format_vorbis.c seen initial vorbis header |
When http://myip:8000/status.xsl is accessed from listening machine:
| Code: |
[2008-11-12 00:20:43] INFO fserve/fserve.c checking for file /style.css (./web/style.css)
[2008-11-12 00:20:43] INFO fserve/fserve.c checking for file /corner_topleft.jpg (./web/corner_topleft.jpg)
[2008-11-12 00:20:43] INFO fserve/fserve.c checking for file /corner_bottomleft.jpg (./web/corner_bottomleft.jpg)
[2008-11-12 00:20:44] INFO fserve/fserve.c checking for file /icecast.png (./web/icecast.png)
[2008-11-12 00:20:44] INFO fserve/fserve.c checking for file /corner_topright.jpg (./web/corner_topright.jpg)
[2008-11-12 00:20:44] INFO fserve/fserve.c checking for file /corner_bottomright.jpg (./web/corner_bottomright.jpg)
[2008-11-12 00:20:44] INFO fserve/fserve.c checking for file /tunein.png (./web/tunein.png) |
When I try to open http://myip:8000/stream.ogg.m3u:
| Code: |
| [2008-11-12 00:21:06] INFO fserve/fserve.c checking for file /stream.ogg.m3u (./web/stream.ogg.m3u) |
And when I'm opening the m3u with the player nothing happens.
It seems like that file isn't found on the server.
What am I doing wrong?
Thanks! |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Nov 12, 2008 2:05 am Post subject: |
|
|
The request for /stream.ogg.m3u does connect and you should get a playlist returned from that. The message you saw was checking if a playlist exists as a file, if not, icecast will generate an m3u for you. After the browser/player sees the playlist, the player should try to request the stream. The only time I've see that be a problem is when the <hostname> setting is incorrect when a port 80 URL is requested.
karl. |
|
| Back to top |
|
 |
Neorth
Joined: 11 Nov 2008 Posts: 4
|
Posted: Wed Nov 12, 2008 9:22 am Post subject: |
|
|
Thanks for the answer Karl.
A playlist is generated and the player tries to connect to stream.ogg but that's where it fails.
About the hostname..
I'm sitting behind a router that is setup to forward all connections to port 8000 to the machine running the server (192.168.1.5). I have set the hostname value to localhost, is that correct?
I have also tried using another port (57500) but same thing happens.
The stream.ogg is found when I go to http://myip:8000/stream.ogg and it gives my this information:
Mount Point /stream.ogg
M3UXSPF
Stream Title: This is my server name
Stream Description: This is my server description
Content Type: application/ogg
Bitrate: Quality 4
Current Listeners: 0
Peak Listeners: 0
Stream Genre: Rock
Stream URL: http://www.oddsock.org
Current Song: Shout Out Louds - Oh, Sweetheart
YP is turned off in edcast so I don't know why these stream values are shown but that's probably not causing any problems.
Any other ideas? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Nov 12, 2008 2:56 pm Post subject: |
|
|
without checking the content of the playlist ,no. If the playlist comes back and says an invalid url like http://localhost:80/stream.ogg and you're not on localhost then it won't play.
karl. |
|
| Back to top |
|
 |
Neorth
Joined: 11 Nov 2008 Posts: 4
|
Posted: Wed Nov 12, 2008 9:42 pm Post subject: |
|
|
Hi again Karl!
The created playlist had the correct info (http://myip:8000/stream.ogg) but..
After ages of tries I finally found the problem!
If I rename the mountpoint to anything else than stream it works! Same thing with all players on the listening side.
Any ideas why naming the mountpoint stream.ogg ain't working?
/Neorth |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Nov 12, 2008 10:55 pm Post subject: |
|
|
Maybe the stream content s not Ogg? The content type matches so should be but usually the reason why Ogg typically fails to play is because no ogg extension is given. In either case, the extension would not effect the log files showing a client connecting.
karl. |
|
| Back to top |
|
 |
Neorth
Joined: 11 Nov 2008 Posts: 4
|
Posted: Thu Nov 13, 2008 2:38 pm Post subject: |
|
|
You should declare me noob of the week.
I took a look in the config file again and spent some extra time at the alias line.. I realized I didn't erad that line bofore. Just the "source" word and thought it was supposed to be stream.ogg. So basicly when I browsed to http://myip:8000/stream.ogg it sent me to "dest" (status.xsl).
Thanks, and sorry for spending your time Karl
/Neorth |
|
| Back to top |
|
 |
|